swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Merge remote-tracking branch 'origin/main' into fix/resolver-namespace-merge
MavenRain:fix/resolver-namespace-merge
12 hours ago
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
21 hours 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
21 hours 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
21 hours 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
1 day 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
1 day 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
1 day 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
1 day ago
Latest Branches
CodSpeed Performance Gauge
0%
fix(es/resolver): Merge re-opened TypeScript namespace scopes
#11872
12 hours ago
24c58ea
MavenRain:fix/resolver-namespace-merge
CodSpeed Performance Gauge
0%
fix(es/parser): reject unicode escapes in RegExp flags
#12093
21 hours ago
ef4489e
Ayush7614:fix/regexp-flags-unicode-escape
CodSpeed Performance Gauge
0%
fix(es/parser): emit TS2371 for object defaults in declare signatures
#12095
21 hours ago
732b90e
Ayush7614:fix/ts2371-declare-object-defaults
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs