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

Diagnostic cause compiler failure Unbound variable src/filters/renameVars.ml #11711

Open
yuxiaomao opened this issue Jul 4, 2024 · 0 comments
Milestone

Comments

@yuxiaomao
Copy link
Contributor

Project: hashlink-debugger master (3e37095e)

Haxe: 7b92f74. Same error with 2106be4 (Juin).

Add var exc= before line 435 var excPos = jit.align.ptr * 5 + 8; gives a compiler failure in VSCode. But when disabled diagnostic, the failure does not exists anymore and show a normal error.

Error: hld/Debugger.hx:424: lines 424-465 Compiler failure: Unbound variable: excPos<21761>
hld/Debugger.hx:424: lines 424-465 Please submit an issue at https://github.com/HaxeFoundation/haxe/issues/new
hld/Debugger.hx:424: lines 424-465 Attach the expression example and the following information:
Haxe: 5.0.0-alpha.1+d3cb40e8a; OS type: windows;
File "src/filters/renameVars.ml", line 418, characters 20-27
Called from file "src/filters/renameVars.ml", line 418, characters 2-27
Called from file "src/std.ml", line 26, characters 6-9
Called from file "list.ml", line 121, characters 24-34
Called from file "src/core/tUnification.ml", line 513, characters 10-15
Called from file "src/filters/filtersCommon.ml", line 74, characters 23-91
Called from file "list.ml", line 110, characters 12-15
Called from file "src/filters/filtersCommon.ml", line 79, characters 2-45
Called from file "list.ml", line 110, characters 12-15
Called from file "src/filters/filters.ml", line 750, characters 1-71
Called from file "src/compiler/compiler.ml", line 16, characters 3-7
Called from file "src/compiler/compiler.ml", line 342, characters 1-91

When using haxe 15731ea (December 2023), the message changed to

File "src/core/globals.ml", line 175, 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

2 participants