Files
graphify/tests
safishamsiandClaude Opus 4.8 77276583e0 fix(csharp): coalesce an undeclared type onto one shared placeholder (#4247)
An external type the corpus references but never declares (`List<T>`,
`System.Type`, Unity's `VisualElement`) got a separate sourceless placeholder
in every file that mentioned it, with the file's name baked into the id
(`a_cs_list`, `b_cs_list`). Queries returned a dozen identical nodes and the
files sharing the type stayed unconnected.

`_resolve_csharp_type_references` minted/kept a per-file stub because the arbiter
short-circuited on whichever placeholder each edge already pointed at. It now
routes every undeclared same-name reference to a single canonical, name-keyed
stub (mirroring Go's external-type treatment), still shadowing no real or
differently-labelled node. The now-unreferenced per-file placeholders are pruned
by the existing sweep.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-10-10 01:31:15 +01:00
..