Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix prefix ~ and + compilation thinkos.
  • Loading branch information
jnthn committed Jan 28, 2013
1 parent 4ab9860 commit a712ae4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nqp-jvm-cc.nqp
Expand Up @@ -141,11 +141,11 @@ $ops.add_hll_op('nqp', 'postdec', -> $qastcomp, $op {
});

$ops.add_hll_op('nqp', 'numify', -> $qastcomp, $op {
$qastcomp.as_jast($op, :want($RT_NUM))
$qastcomp.as_jast($op[0], :want($RT_NUM))
});

$ops.add_hll_op('nqp', 'stringify', -> $qastcomp, $op {
$qastcomp.as_jast($op, :want($RT_STR))
$qastcomp.as_jast($op[0], :want($RT_STR))
});

$ops.add_hll_op('nqp', 'falsey', -> $qastcomp, $op {
Expand Down

0 comments on commit a712ae4

Please sign in to comment.