Skip to content

Commit 1e8a295

Browse files
committed
confusion about argument order cleared up.
1 parent bd80cda commit 1e8a295

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/vm/parrot/QAST/Operations.nqp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2156,8 +2156,8 @@ QAST::Operations.add_core_op('bindattr_i', :inlinable(1), -> $qastcomp, $op {
21562156
$op[0],
21572157
$op[1],
21582158
$op[2],
2159-
$op[3],
2160-
QAST::IVal.new(:value($hint))
2159+
QAST::IVal.new(:value($hint)),
2160+
$op[3]
21612161
));
21622162
} else {
21632163
$qastcomp.as_post(QAST::Op.new(
@@ -2171,8 +2171,8 @@ QAST::Operations.add_core_op('bindattr_i', :inlinable(1), -> $qastcomp, $op {
21712171
});
21722172
QAST::Operations.add_core_pirop_mapping('bindattr_n', 'repr_bind_attr_num', '3PPsn', :inlinable(1));
21732173
QAST::Operations.add_core_pirop_mapping('bindattr_s', 'repr_bind_attr_str', '3PPss', :inlinable(1));
2174-
QAST::Operations.add_core_pirop_mapping('bindattr_s_nh', 'repr_bind_attr_int', '3PPss', :inlinable(1));
2175-
QAST::Operations.add_core_pirop_mapping('bindattr_s_h', 'repr_bind_attr_int', '3PPssi', :inlinable(1));
2174+
QAST::Operations.add_core_pirop_mapping('bindattr_s_nh', 'repr_bind_attr_str', '3PPss', :inlinable(1));
2175+
QAST::Operations.add_core_pirop_mapping('bindattr_s_h', 'repr_bind_attr_str', '3PPsis', :inlinable(1));
21762176
QAST::Operations.add_core_op('bindattr_s', :inlinable(1), -> $qastcomp, $op {
21772177
if +@($op) != 4 {
21782178
nqp::die('bindattr_s requires four operands');
@@ -2187,8 +2187,8 @@ QAST::Operations.add_core_op('bindattr_s', :inlinable(1), -> $qastcomp, $op {
21872187
$op[0],
21882188
$op[1],
21892189
$op[2],
2190-
$op[3],
2191-
QAST::IVal.new(:value($hint))
2190+
QAST::IVal.new(:value($hint)),
2191+
$op[3]
21922192
));
21932193
} else {
21942194
$qastcomp.as_post(QAST::Op.new(

0 commit comments

Comments
 (0)