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

'Compiler failure' when hover-inspecting vars in macro debugger #12038

Open
inert-aesthetic opened this issue Mar 2, 2025 · 1 comment
Open

Comments

@inert-aesthetic
Copy link

inert-aesthetic commented Mar 2, 2025

Failure("Compiler failure
Please submit an issue at https://github.com/HaxeFoundation/haxe/issues/new
Attach the following information:
Haxe: 5.0.0-alpha.1+5e4e368; OS type: unix;
File "src/macro/eval/evalDebugMisc.ml", line 145, characters 22-29
Called from file "src/macro/eval/evalDebugMisc.ml", line 153, characters 12-20
Called from file "src/macro/eval/evalDebugMisc.ml", line 228, characters 12-19
Called from file "src/macro/eval/evalDebugSocket.ml", line 22, characters 3-6
Called from file "src/macro/eval/evalThread.ml", line 96, characters 8-14
Called from file "thread.ml", line 39, characters 8-14
")

Occurs on most vars.
I also had many errors that TypePath cannot have a pos, which was working prior. Unable to repro this part now, likely unrelated.

On 5.0.0-alpha.1+650842 I get a similar error:

Globals.Ice("Compiler failure
Please submit an issue at https://github.com/HaxeFoundation/haxe/issues/new
Attach the following information:", "File "src/macro/eval/evalDebugMisc.ml", line 145, characters 22-29
Called from file "src/macro/eval/evalDebugMisc.ml", line 154, characters 12-20
Called from file "src/macro/eval/evalDebugSocket.ml", line 22, characters 3-6
Called from file "src/macro/eval/evalThread.ml", line 96, characters 8-14
Called from file "thread.ml", line 39, characters 8-14
")

In case relevant, the macro is:
https://github.com/inert-aesthetic/thinglib/blob/master/com/thinglib/macro/Codegen.hx

@inert-aesthetic
Copy link
Author

And on 4.3.6

Compiler failure
Please submit an issue at https://github.com/HaxeFoundation/haxe/issues/new
Attach the following information:
Haxe: 4.3.6; OS type: unix;
File "src/macro/eval/evalDebugMisc.ml", line 145, characters 22-29
Called from file "src/macro/eval/evalDebugMisc.ml", line 153, characters 12-20
Called from file "src/macro/eval/evalDebugSocket.ml", line 24, characters 3-6
Called from file "src/macro/eval/evalThread.ml", line 96, characters 8-14
Called from file "thread.ml", line 39, characters 8-14
File "src/core/globals.ml", line 156, characters 1-7: Assertion failed

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

1 participant