From 184b013788df43afdd2a2357c0dcebdebac35394 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Murias?= Date: Thu, 5 Jul 2018 15:00:00 +0200 Subject: [PATCH] We shouldn't use VOID things as function call arguments Revert "[truffle] Return AST to coerce VOID to CALL_ARG" This reverts commit e7f48ecb20865b303fb6ee9c8125dd4aa3f6f748. --- nqp-truffle.nqp | 3 --- 1 file changed, 3 deletions(-) diff --git a/nqp-truffle.nqp b/nqp-truffle.nqp index d701b14460..57c2e6f469 100644 --- a/nqp-truffle.nqp +++ b/nqp-truffle.nqp @@ -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 {