Skip to content

Commit 755bd8b

Browse files
committed
Fix copy-pasto.
1 parent d5f157f commit 755bd8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vm/parrot/QAST/Operations.nqp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1621,10 +1621,10 @@ QAST::Operations.add_core_op('printfh', -> $qastcomp, $op {
16211621
});
16221622
QAST::Operations.add_core_op('sayfh', -> $qastcomp, $op {
16231623
if +$op.list != 2 {
1624-
nqp::die("The 'printfh' op expects two operands");
1624+
nqp::die("The 'sayfh' op expects two operands");
16251625
}
16261626
$qastcomp.as_post(QAST::Op.new(
1627-
:op('callmethod'), :name('print'),
1627+
:op('callmethod'), :name('say'),
16281628
$op[0], $op[1]
16291629
))
16301630
});

0 commit comments

Comments
 (0)