Skip to content

Commit 6acbe1e

Browse files
committed
PipeAst: Take the expr instead of passing the whole call
1 parent a48593d commit 6acbe1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/piccode/ast/PipeAst.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public PiccodeValue execute(Integer frame) {
7373

7474
var call = (CallAst) rhs;
7575
call.nodes.forEach(node -> newArgs.addLast(node));
76-
var _call = new CallAst(call, newArgs);
76+
var _call = new CallAst(call.expr, newArgs);
7777
return _call.execute(frame);
7878
});
7979
}

0 commit comments

Comments
 (0)