73
74Fixed 4 issues causing the Rust compiler to report 27 errors vs TS's 22 on the
75▶error.todo-missing-source-locations fixture: (1) Don't record the root function node as
76important (TS func.traverse visits descendants only). (2) Use make_var_declarator for
77hoisted scope declarations to reconstruct VariableDeclarator source locations. (3) Pass
· · ·
87traverses both the original Babel AST function and the generated CodegenFunction output,
88comparing source locations for important node types. Code comparison now 1724/1724 (was
89▶1723/1724) since both TS and Rust correctly error on error.todo-missing-source-locations.
90
91## 20260331-210000 Fix function name inference to match TS parent-checking behavior
· · ·
981723/1723 passing.
99
100▶## 20260331-200000 Fix CompilerDiagnostic::todo() to produce ErrorDetail variant
101
102Removed the flat-loc serialization hack from log_error, compiler_error_to_info, and
· · ·
103log_errors_as_events. Instead fixed the root cause: the From<CompilerDiagnostic> for
104▶CompilerError impl now converts Todo-category diagnostics to CompilerErrorOrDiagnostic::ErrorDetail
105(matching TS's CompilerError.throwTodo() → CompilerErrorDetail). Invariant-category
106diagnostics remain as CompilerErrorOrDiagnostic::Diagnostic with sub-details (matching TS).
· · ·
105▶(matching TS's CompilerError.throwTodo() → CompilerErrorDetail). Invariant-category
106diagnostics remain as CompilerErrorOrDiagnostic::Diagnostic with sub-details (matching TS).
1071723/1723 passing.
+ 10 more matches in this file