Skip to content

Commit

Permalink
[truffle] Make nqp::call return a value
Browse files Browse the repository at this point in the history
  • Loading branch information
pmurias committed Jul 5, 2018
1 parent 184b013 commit b427898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nqp-truffle.nqp
Expand Up @@ -229,7 +229,7 @@ class QAST::OperationsTruffle {
for $node.list -> $child {
nqp::push($ret, $comp.as_truffle($child, :want($CALL_ARG)).tree);
}
TAST.new($VOID, $ret);
TAST.new($OBJ, $ret);
});

add_op('bind', sub ($comp, $node, :$want) {
Expand Down

0 comments on commit b427898

Please sign in to comment.