haxe icon indicating copy to clipboard operation
haxe copied to clipboard

Loop in class building prevent compiler termination

Open mrpierrot opened this issue 8 months ago • 2 comments

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.

mrpierrot avatar Mar 26 '25 11:03 mrpierrot

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?

Simn avatar Mar 27 '25 17:03 Simn

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.

mrpierrot avatar Apr 01 '25 11:04 mrpierrot

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)

mrpierrot avatar Jun 25 '25 20:06 mrpierrot

Error tested and not reproducted with haxe with 5.0.0-alpha.1+cefabb1

mrpierrot avatar Jul 02 '25 13:07 mrpierrot