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(dataflow): guard exitFunction pop against early-return enterFunctionScope
enterFunctionScope returns early (no push) when nameExtractor rejects a node.
The unconditional scopeStack.pop() in exitFunction caused asymmetric push/pop
for languages like Elixir and Clojure whose functionNodes include generic node
types (call/list_lit) that only sometimes represent function definitions.
Fix: enterFunctionScope now returns boolean (true = pushed). A parallel
pushRecord boolean stack in createDataflowVisitor records the result of each
enterFunction call; exitFunction pops scopeStack only when pushRecord.pop()
is true.
0 commit comments