Closed Gama11 closed 9 years ago
blah, I don't want to have to think what might be involved to remove all these from the generated code. If you see, you'll notice the code in this if statement can never execute since fst is guaranteed to be false.
Yeah, it still makes sense that Haxe wouldn't allow this though.
A simple solution would be to remove the offending lines manually from the generated .hx source? It's just those few in Space.hx.
Meh, i'd rather not do that sort of patching.
However, i'm totally fine with adding a compile step that automatically comments that stuff out ;)
Hopefully fixed (haxelib updated).
Wow, that was quick. :+1:
Seems to be fixed now, yeah.
What did haxe do to make the source code change? Like right when I installed git haxe, nape's source changed.
It didn't. It's just that haxe used to allow it. (It's code which would obviously throw an exception at runtime, but was never executed since it's in an if (false) but haxe now prevents it being compiled at all).
There's several
null.begin()
calls in that function:I'm surprised Haxe used to allow that.