Thread the object receiver into raw_calls for Kotlin

Still toward issue 1698. Still no observable behavior change on its
own: nothing reads the new kotlin_object_receiver field yet, so
existing edges are unaffected. The resolver that consumes it lands
in the next commit.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
ayushcodes10andClaude Sonnet 5 committed 2026-09-16 14:19:39 +05:30
1 parent 7728d99295
commit aed98d6395
1 file changed
+8
+8
View File
@@ -6390,6 +6390,14 @@ def _extract_generic(
if kotlin_qualified_prefix:
rc_entry["lang"] = "kotlin"
rc_entry["qualified_prefix"] = kotlin_qualified_prefix
# Kotlin object/class-qualified member call (#1698): the
# receiver + lang tag let _resolve_kotlin_member_calls
# claim it once the in-file bare-name lookup above (the
# only reason a real definition reaches raw_calls at
# all) has already failed.
if kotlin_object_receiver:
rc_entry["lang"] = "kotlin"
rc_entry["kotlin_object_receiver"] = kotlin_object_receiver
raw_calls.append(rc_entry)
# Indirect dispatch: a function passed BY NAME as a call argument