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 is `this` or `super` used as a
function (e.g. `this(b)` or `super(a)`), extract_callback_reference_calls
was being invoked and emitting identifier arguments as spurious dynamic
calls. The pts resolver then resolved those names globally, producing
false cross-file call edges (e.g. fun/fun.js:foo → spread/spread.js:b).
Add an early return for fn_node.kind() == "this" || "super", mirroring
the JS extractor's guard (javascript.ts:1135). Add regression tests for
both this(b) and super(a) argument non-emission.
Closes#1511
0 commit comments