Objective
Reach full logical parity with the TypeScript reference implementation in ~/Code/typescript-go: every TypeScript unit, integration, compiler, and exact conformance test passes without fixture-specific hardcoding.
Authoritative gates
ts_checkeris fully green with zero failures or crashes.ts_conformancecoarse mode remains 5,907 / 5,907.ts_conformanceexact mode reaches 5,907 / 5,907 byte-for-byte baselines.- Remaining TypeScript package tests (
ts_parser,ts_program,ts_driver,ts_resolver, emit/declaration tests) are green. - Full repo test gate has no TypeScript-related failures.
- README, capability matrix, and parity plan report one consistent verified count.
Current verified state
As documented at HEAD before this tracking issue was opened:
- Coarse conformance: 5,907 / 5,907 (100%).
- Exact conformance dashboard: 4,220 / 5,907 (~71.4%), with 1,687 fixtures remaining.
ts_checker: 2,974 / 3,006 pass, 30 fail, 2 crash after the callable-object/arity parity wave; the two crashes are existing conditional-distribution invalid-TypeId failures.
Exact parity is the completion criterion. Diagnostic-code reachability alone is not proof of parity.
Working rules
- Port semantics from TypeScript/tsgo, not fixture names or expected text tables.
- Land small conventional commits with focused regressions and exact-corpus evidence.
- Record each verified fixture/window delta in linked issues and comments.
- Keep child issues linked here and close them only when their stated gate is proven.
References
docs/TS_PARITY_PLAN.mddocs/TS_DIAGNOSTIC_REACHABILITY.mddocs/TS_DIAGNOSTIC_CODE_STATUS.mdpackages/ts_conformance/