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
{{ message }}
Repository navigation
Kotlin: cross-file calls to object (singleton) members produce no calls edges — same-file resolution works #1698
Extraction invoked directly via graphify.extract.extract(files, parallel=False) (same result through the CLI pipeline)
Summary
Calls to members of a Kotlin object (singleton) resolve to calls edges only when caller and callee are in the same file. The identical pattern across two files produces zero edges — not even a references edge from the caller's class to the object.
This is the Kotlin sibling of the Swift navigation-expression work that landed in 0.9.5 (#1604) and looks adjacent to #1696 (Java receivers) and #1682 (PHP member calls).
No calls edge to messagehelper_messagehelper_isroomclosed, and no references edge to MessageHelper at all.
Expected
roompage_roompage_refresh --calls--> messagehelper_messagehelper_isroomclosed [EXTRACTED or INFERRED]
The receiver here is a navigation-qualified object name — statically unambiguous, no type inference needed, so this should be the easiest cross-file case for Kotlin.
Real-world impact
Found while indexing a large production Android monorepo (~5,900 Kotlin/Java files). A messaging utility object whose method is called from 3 different files (verified by grep and by a Hybrid-LSP-based tool, which both report all 3 callers) shows zero incoming calls edges in the graph, so "who calls X" silently returns an empty answer instead of failing loudly. Kotlin object + top-level utility functions are the dominant utility pattern in Android codebases, so this gap affects a large share of caller-lookup queries.
Activity
test(kotlin): cover companion members + incremental persistence (#1698 …
Park Kotlin object member calls across a repo boundary (Graphify-Labs…
safishamsi commentedon Sep 20, 2026
Fixed in v0.9.64 via #3598 — Kotlin object/class qualified member calls resolve across files. Thanks @ayushcodes10.
Park Kotlin object member calls across a repo boundary (Graphify-Labs…
Park Kotlin object member calls across a repo boundary (#3388)