From 2652a4a12280dd2ab8d46fb262ce1d708b32e55b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Murias?= Date: Mon, 16 Jul 2018 13:07:54 +0200 Subject: [PATCH] [truffle] Fix ops definitions --- src/vm/jvm/Truffle.nqp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vm/jvm/Truffle.nqp b/src/vm/jvm/Truffle.nqp index 0d3c77227f..484771040d 100644 --- a/src/vm/jvm/Truffle.nqp +++ b/src/vm/jvm/Truffle.nqp @@ -182,8 +182,8 @@ class QAST::OperationsTruffle { TAST.new($OBJ, @tree); }); - add_simple_op('atkey' ~ $suffix, $type, [$OBJ, $INT]); - add_simple_op('bindpos' ~ $suffix, $type, [$OBJ, $INT]); + add_simple_op('atpos' ~ $suffix, $type, [$OBJ, $INT]); + add_simple_op('bindpos' ~ $suffix, $type, [$OBJ, $INT, $OBJ]); add_simple_op('atkey' ~ $suffix, $type, [$OBJ, $STR]); add_simple_op('bindkey' ~ $suffix, $type, [$OBJ, $STR, $type], :side_effects);