Commit 6724c46
authored
fix(native): remove spurious else-if in Rust findCaller that misattributed 68 call edges (#637)
The Rust `build_call_edges` had an `else if` branch that assigned calls to
the nearest preceding definition even when the call was outside that
definition's span. This caused ~68 call edges to be silently dropped
(caller == target → self-call filter) instead of correctly falling back to
the file node as caller. The JS `findCaller` never had this branch.
Closes #6131 parent 1fae7e1 commit 6724c46
1 file changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | 185 | | |
190 | 186 | | |
191 | 187 | | |
| |||
0 commit comments