Skip to content

TypeScript parity: reach 100% exact conformance and a green TS suite #67

Description

@chrisbbreuer

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_checker is fully green with zero failures or crashes.
  • ts_conformance coarse mode remains 5,907 / 5,907.
  • ts_conformance exact 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.md
  • docs/TS_DIAGNOSTIC_REACHABILITY.md
  • docs/TS_DIAGNOSTIC_CODE_STATUS.md
  • packages/ts_conformance/

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions