Permalink
Browse files

A couple of stray nqp::p6decont => nqp::decont.

  • Loading branch information...
1 parent 8b49b7a commit 044f377dd291cd2391e2abcfad741afd71d2bad4 @jnthn jnthn committed Mar 19, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/core/List.pm
  2. +1 −1 src/core/Range.pm
View
@@ -150,7 +150,7 @@ my class List does Positional {
my $i;
my Mu $v;
gather while $n > 0 {
- $i = nqp::rand_I(nqp::p6decont($elems), Int);
+ $i = nqp::rand_I(nqp::decont($elems), Int);
$elems--; $n--;
$v := nqp::atpos($rpa, nqp::unbox_i($i));
# replace selected element with last unpicked one
View
@@ -84,7 +84,7 @@ my class Range is Iterable is Cool does Positional {
?? $!max.Numeric
!! $!max;
my Mu $rpa := nqp::list();
- if nqp::istype($value, Int) && nqp::istype($!max, Int) && !nqp::isbig_I(nqp::p6decont $!max)
+ if nqp::istype($value, Int) && nqp::istype($!max, Int) && !nqp::isbig_I(nqp::decont $!max)
|| nqp::istype($value, Num) {
# Q:PIR optimized for int/num ranges
$value = $value.Num;

0 comments on commit 044f377

Please sign in to comment.