Changelog

microsoft/typescript-go · · 1 commit

Checker fix stops spurious ref resolution

A TypeScript-Go checker fix broadens ancestor checks to avoid resolving nodes that normal checking skips, eliminating several false diagnostics.

Checker now avoids resolving unchecked nodes (weswigham448614f)

markLinkedReferences was expanded to recognize more contexts where the checker intentionally does not perform semantic resolution, including with blocks, invalid decorator positions, non-generator yield operands, malformed for-in/of RHS cases, computed property names, and heritage clauses. This should prevent a cluster of spurious diagnostics and unused-reference mishandling across real-world code and the updated baselines.

Other misc changes

  • Added FindManyAncestors helper for walking multiple ancestor predicates in one pass.
  • Updated compiler/conformance baselines for the checker behavior change.