Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
tweak error message in nqp::getpid
  • Loading branch information
sorear committed Jun 23, 2013
1 parent cf6cfb3 commit 1792c64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/parrot/QAST/Operations.nqp
Expand Up @@ -2293,7 +2293,7 @@ QAST::Operations.add_core_op('getenvhash', -> $qastcomp, $op {
});
QAST::Operations.add_core_op('getpid', -> $qastcomp, $op {
if +@($op) != 0 {
nqp::die('getenvhash requires no operands');
nqp::die('getpid requires no operands');
}
$qastcomp.as_post(QAST::Op.new(
:op('callmethod'), :name('getpid'), :returns(int),
Expand Down

0 comments on commit 1792c64

Please sign in to comment.