Skip to content

Commit

Permalink
We shouldn't use VOID things as function call arguments
Browse files Browse the repository at this point in the history
Revert "[truffle] Return AST to coerce VOID to CALL_ARG"

This reverts commit e7f48ec.
  • Loading branch information
pmurias committed Jul 5, 2018
1 parent f08c5e7 commit 184b013
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions nqp-truffle.nqp
Expand Up @@ -342,9 +342,6 @@ class QAST::TruffleCompiler {
elsif $got == $OBJ {
return TAST.new($CALL_ARG, $tast.tree);
}
elsif $got == $VOID {
return TAST.new($CALL_ARG, $tast.tree);
}
}

if $desired == $OBJ {
Expand Down

0 comments on commit 184b013

Please sign in to comment.