Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
parrots arrays do not seem to like natives
This explodes using perl6-p: my @j; my int $j = 0; @j.push($j)
Since I dont expect that this will be fixed quickly, I am de-
optimizing the code slightly to make it work on perl6-p.
  • Loading branch information
FROGGS committed Feb 27, 2014
1 parent da53ec1 commit 3c80d3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/metaops.pm
Expand Up @@ -34,7 +34,7 @@ sub METAOP_CROSS(\op, &reduce) {
nqp::bindpos($cache, $i, $rpa);
}
my int $n = lol.elems - 1;
my int $j = 0;
my $j = 0;
my @j;
my @v;

Expand Down

0 comments on commit 3c80d3a

Please sign in to comment.