swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
test(es/parser): update test262 stderr for RegExp flag escapes Rejecting unicode escapes in flags consumes the invalid flag sequence, so the secondary "Expected a semicolon" recovery diagnostic is no longer emitted for these test262 fail cases.
Ayush7614:fix/regexp-flags-unicode-escape
35 minutes ago
fix(es/parser): cover type-signature TS2371 without duplicates Drop eager InDeclare emits that double-fired with the post-list walker for declare functions. Recover AssignPat in signature bindings as TS2371 and walk nested object/array defaults in type/call/method signatures.
Ayush7614:fix/ts2371-declare-object-defaults
41 minutes ago
fix(es/parser): honor no_early_errors and recheck TSX arrows emit_strict_mode_err must respect TsSyntax::no_early_errors like emit_err. Outer TSX try_parse_ts also sets IgnoreError, so re-run validate_arrow_params after that speculative parse commits.
Ayush7614:fix/unique-formal-parameters
46 minutes ago
fix(es/parser): do not emit TS2371 for declare const defaults Object shorthand defaults under InDeclare also appear in ambient variable bindings such as `declare const { a = 1 }`, which TypeScript accepts. Drop the eager object-pattern check and limit binding-element TS2371 to parameter lists; declare signatures still use the post-parse walk.
Ayush7614:fix/ts2371-declare-object-defaults
4 hours ago
fix(es/parser): scan non-ASCII RegExp flags as IdentifierPart cur() only yields the first UTF-8 byte, so flags starting with a non-ASCII IdentifierPart (e.g. /a/π\u0067) were skipped. Use cur_as_char() and is_ident_part() before deciding there are no flags.
Ayush7614:fix/regexp-flags-unicode-escape
4 hours ago
fix(es/parser): cover remaining UniqueFormalParameters paths Apply uniqueness checks after speculative TS arrow parses leave IgnoreError, buffer simple-list duplicates for auto-detected modules, and cover conditional typed / generic async arrow parsers.
Ayush7614:fix/unique-formal-parameters
4 hours ago
test: update fixtures for UniqueFormalParameters errors Align no-dupe-args and test262 error snapshots with parser-emitted duplicate formal parameter diagnostics.
Ayush7614:fix/unique-formal-parameters
5 hours ago
fix(es/parser): reject unicode escapes in RegExp flags ECMA-262 makes a Syntax Error when RegExp flags contain a Unicode escape sequence. The lexer already detected escapes via read_word_as_str_with but discarded has_escape; honor that flag and also accept flags that begin with a backslash escape.
Ayush7614:fix/regexp-flags-unicode-escape
6 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
fix(es/parser): reject unicode escapes in RegExp flags
#12093
38 minutes ago
ef4489e
Ayush7614:fix/regexp-flags-unicode-escape
CodSpeed Performance Gauge
0%
fix(es/parser): emit TS2371 for object defaults in declare signatures
#12095
44 minutes ago
732b90e
Ayush7614:fix/ts2371-declare-object-defaults
CodSpeed Performance Gauge
-4%
fix(es/parser): enforce UniqueFormalParameters
#12092
49 minutes ago
f62a934
Ayush7614:fix/unique-formal-parameters
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs