haxe
haxe copied to clipboard
Loop in class building prevent compiler termination
Hi ! I encounter this error in my project with Haxe 4.3.6 (On Windows with the Haxe release). I make a minimal case to show how to trigger it (there is multiples places to break the loop) : https://github.com/mrpierrot/haxe-crash (No dependencies, ready to build)
Thank you for reading me.
On current development:
C:\git\haxe-crash>haxe build.hxml
src/Macros.hx:54: build.start BaseUnit
src/Macros.hx:54: field.start BaseUnit.rendering
src/Macros.hx:54: crashTest.start Drawable
src/Macros.hx:58: crashTest.end Drawable
src/Macros.hx:58: field.end BaseUnit.rendering
src/Macros.hx:58: build.end BaseUnit
I guess that's the expected result?
Yes. It's the expected result. I will install the git version of Haxe to test with the first commit and in my reel project. Thank you to have check that issue.
Hi ! I still have the problem with Haxe 4.3.7. I have not test it with test with the dev version (can't compile it for now)
Error tested and not reproducted with haxe with 5.0.0-alpha.1+cefabb1