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
fix(native): skip callback-reference calls for this()/super() call expressions
In handle_call_expr, when the callee node is `this` or `super` (e.g. `this(b)`,
`super(a)`), extract_callback_reference_calls was running and emitting identifier
arguments as spurious dynamic calls. The pts resolver then matched those names
globally, producing false cross-file call edges in the jelly-micro fixture:
fun/fun.js:foo → spread/spread.js:b, fun/fun.js:bar → prototypes3/prototypes3.js:c, etc.
Fix: add an early return for fn_node.kind() == "this" || fn_node.kind() == "super",
mirroring the existing guard in the TypeScript handleCallExpr (javascript.ts:1135).
Add two regression tests covering both cases.
Closes#1543
0 commit comments