Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile errors with Haxe 3.3.0 development builds #50

Open
jgranick opened this issue Jan 17, 2016 · 3 comments
Open

Compile errors with Haxe 3.3.0 development builds #50

jgranick opened this issue Jan 17, 2016 · 3 comments

Comments

@jgranick
Copy link

Hi guys,

I have an issue that occurs only on the JavaScript target with Haxe 3.3 development builds (I believe it works with Haxe 3.2, but am unable to test in the environment that's using mockatoo right now)

HaxeFoundation/haxe#4793 (comment)

If there is anything about this that sounds like "Yes, mockatoo could be the cause" or "hey, I think I have an idea where in the code that might be happening", it would be a huge help! Thanks 😄

@jgranick
Copy link
Author

Ah, interesting! This might explain (line 318) why the code is compiling into C++, but not JavaScript

if (arg.opt && Tools.isStaticPlatform())
{
    //NOTE(Dom) - this is to prevent #9 - optional method args without a `?` cause compilation error
    arg.opt = verifyOptionalArgIsActuallyNullable(arg);
}

I'll try to keep digging

@jgranick
Copy link
Author

Fixed in #51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants