Skip to content

fix(parser): report nesting and template errors consistently - #132

Merged
guybedford merged 1 commit into
mainfrom
BridgeAR/2026-10-05-cjs-wasm-errors
Oct 10, 2026
Merged

guybedford merged 1 commit into
mainfrom
BridgeAR/2026-10-05-cjs-wasm-errors

Conversation

@BridgeAR

@BridgeAR BridgeAR commented Oct 6, 2026

Copy link
Copy Markdown
Member

Unexpected closing braces and unterminated nesting return success in the Wasm parser because errors are discarded or never recorded. Unterminated templates in the JavaScript parser call an undefined helper and produce a ReferenceError.

@guybedford
guybedford marked this pull request as ready for review October 10, 2026 04:36
Unexpected closing braces and unterminated nesting return success in the Wasm
parser because errors are discarded or never recorded. Unterminated templates
in the JavaScript parser call an undefined helper and produce a ReferenceError.

Signed-off-by: Ruben Bridgewater <ruben.bridgewater@datadoghq.com>
@guybedford
guybedford force-pushed the BridgeAR/2026-10-05-cjs-wasm-errors branch from 1ffef36 to 80012fa Compare October 10, 2026 04:41
@guybedford
guybedford merged commit f9fdfba into main Oct 10, 2026
6 checks passed
@guybedford
guybedford deleted the BridgeAR/2026-10-05-cjs-wasm-errors branch October 10, 2026 04:43
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

Successfully merging this pull request may close these issues.

2 participants