Skip to content

Vendor TypeScript fork 608a9db for abstract and accessor members - #25

Draft
inth3shadows wants to merge 1 commit into
mainfrom
grammar/fork-608a9db
Draft

inth3shadows wants to merge 1 commit into
mainfrom
grammar/fork-608a9db

Conversation

@inth3shadows

@inth3shadows inth3shadows commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

Blocked by a grammar regression confirmed by both native reviewers. Importing fork 608a9db makes generic calls and typed tags using typeof abstract silently become comparison expressions in both TypeScript and TSX. Native and wasm extraction both omit the call reference despite reporting no parse errors. type T = (typeof abstract) also newly errors. A complete valid example passes strict tsc:

const abstract = 0;
function f<T>(x: T) { return x; }
export function caller() { return f<typeof abstract>(0); }

The regression comes from adding abstract globally to _reserved_identifier (public patch line 311); it is separate from the known bare abstract type-name limitation. Fix it in the grammar fork, add tree-shape/extraction regressions, then update this pin and run a fresh verify round before merge.

This change otherwise updates native C and wasm TypeScript/TSX grammars from fork 7dbdfae to 608a9db for members named abstract/accessor and auto-accessor modifiers. It refreshes provenance/hash tables, the public reproducer patch and baseline; mirrors fork fixtures, promotes the static-accessor gap, and pins member/newline/type-argument shapes plus native extraction without deferral.

Validation passes: rebuilt kernel, normal build, 73 focused grammar/parity/scaffold tests (19 languages), full suite 11,122 passed / 2 expected failures / 61 skipped, public patch roundtrip, strict local fixtures, and differential CI. Full differential: 14,608 files, 0 new / 0 worse. Two existing Effect divergences and four unrelated local gaps remain. These checks do not detect the silent regression above.

Draft pending grammar correction; no merge or deployment.

@inth3shadows
inth3shadows marked this pull request as draft November 8, 2026 02:59
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.

1 participant