mirror of
https://github.com/safishamsi/graphify.git
synced 2026-10-16 08:59:26 +00:00
A `-> Self` / `: Self` annotation names the enclosing type, not a corpus symbol, but `_swift_collect_type_refs` appended the `Self` type_identifier as a type reference and ran it through the sourceless-stub path. That fabricated a node with the bare id `self` that every `Self`-returning method in the corpus collapses onto — a god node, the same keyword-type pitfall Rust's and Python's `Self` were fixed for. `Self` is now skipped in both the `user_type` and bare `type_identifier` arms. Genuine user types and the `Int`/`String` builtin type hubs are unaffected.