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
When C# code inherits from a type defined in another language (e.g. F#), the C# extractor creates a stub node with no source_file because it can't resolve the base type. The inherits edge points to this stub instead of the real definition node.
For example, class SqliteBookStore : BookStore creates a stub bookstore node, while the actual F# abstract class is interfaces_bookstore (from Interfaces.fs). The inheritance edge connects to the wrong node, breaking cross-language graph connectivity.
Proposed Fix
Add a post-extraction pass that:
Identifies stub nodes (no source_file) that have a matching real definition (by label match)
Redirects all edges from the stub to the real definition node
Removes the stub
Impact
Tested on a mixed F#/C# project — all inherits edges now point to real definitions instead of stubs. Cross-language graph connectivity significantly improved.
Activity