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
Collapse dead parser rung and drop write-only Deps.Parser field
Two parser-plumbing test seams flagged by the interface audit:
- The commentParserWithLanguage rung in parseForBuild only matched a
test parser that implemented ParseWithComments but not the richer
ParseWithCommentsAndMetadata; production parsers (*treesitter.Walker)
always match the metadata rung. Upgrade that test parser to the full
metadata contract and delete the middle rung and its interface.
- Deps.Parser had no production reader (graphService builds from
Deps.Walkers); only a test built an incremental syncer from it. Point
that test at Deps.Walkers[".go"] and remove the field and its wiring.
No production behavior change: Walker already took the metadata path and
Deps.Parser was never read outside tests.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments