haxe
haxe copied to clipboard
Diagnostic cause compiler failure Unbound variable src/filters/renameVars.ml
Project: hashlink-debugger master (3e37095e)
Haxe: 7b92f74f. Same error with 2106be457 (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 15731ea67 (December 2023), the message changed to
File "src/core/globals.ml", line 175, characters 1-7: Assertion failed