You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(scripts): resolve override members in the symbol-anchor accept set (#16895)
* wip: add override to symbol-anchors member modifier accept set
Refs #16821
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012GKcPZbMoGq7WPzKLfRBTU
* wip: self-test cases + battery pin
Refs #16821
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012GKcPZbMoGq7WPzKLfRBTU
* fix(scripts): resolve `override` members in the symbol-anchor accept set
The member matcher in scripts/symbol-anchors.mjs carried a hand-enumerated
nine modifiers -- readonly, static, public, private, protected, abstract,
declare, async and the generator star -- and `override` was the one TS
member modifier absent. A symbol anchor naming a real `override` declaration
returned `unresolved-symbol`, and the gate's own remedy text left the author
only a weaker, file- or class-level anchor.
Adds `override ` to that alternation, a rationale comment recording that the
enumeration is hand-made and has now been demonstrated incomplete once, and
twelve self-test cases -- one per member spelling, each paired with its own
negative control -- with the battery floor moved 69 to 93.
Purely additive: nothing that resolved before stops resolving. All three
corpora that register against this resolver were re-measured before and
after and their output is byte-identical.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012GKcPZbMoGq7WPzKLfRBTU
---------
Co-authored-by: claude <noreply@anthropic.com>
0 commit comments