Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix copy-pasto.
  • Loading branch information
jnthn committed Oct 3, 2013
1 parent d5f157f commit 755bd8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vm/parrot/QAST/Operations.nqp
Expand Up @@ -1621,10 +1621,10 @@ QAST::Operations.add_core_op('printfh', -> $qastcomp, $op {
});
QAST::Operations.add_core_op('sayfh', -> $qastcomp, $op {
if +$op.list != 2 {
nqp::die("The 'printfh' op expects two operands");
nqp::die("The 'sayfh' op expects two operands");
}
$qastcomp.as_post(QAST::Op.new(
:op('callmethod'), :name('print'),
:op('callmethod'), :name('say'),
$op[0], $op[1]
))
});
Expand Down

0 comments on commit 755bd8b

Please sign in to comment.