Skip to content

test(l2): pin the cross-file call-site collision fix (#32) - #37

Open
sinha108 wants to merge 1 commit into
mainfrom
test/callsite-collision
Open

sinha108 wants to merge 1 commit into
mainfrom
test/callsite-collision

Conversation

@sinha108

Copy link
Copy Markdown
Contributor

Adds a regression test for #32. The bug was fixed by 988581d and a7a103f (in #16): call sites are looked up in an index keyed on the declaring file and the call's start and end, not by scanning every file in the package for the first call at a line:col.

The fixture has two calls at the same line:col in sibling files, one inside a method declared away from its receiver type. The test fails on the code before 988581d (HelpX -> right, the #32 symptom) and passes on main.

Closes #32.

…r own callees

Pins the #32 fix (988581d, a7a103f): the call-site index is keyed on the declaring file.
@sinha108
sinha108 force-pushed the test/callsite-collision branch from ecb0eb7 to 515c1cc Compare October 30, 2026 00:55
@sinha108
sinha108 requested a review from pavuluri October 30, 2026 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Call graph emits false-positive edges from cross-file (line, column) call-site collisions

1 participant