Permalink
Browse files

Use nqp::shift($rpa) instead of $rpa.shift.

  • Loading branch information...
1 parent 0f9975c commit 1886ee95251db25590f866e286df1a98d626686c @pmichaud pmichaud committed Jun 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/Parcel.pm
View
@@ -82,7 +82,7 @@ my class Parcel does Positional {
my Mu $lhs := nqp::clone($!storage);
my Mu $tv := nqp::list();
while ($lhs) {
- my Mu $x := $lhs.shift;
+ my Mu $x := nqp::shift($lhs);
if nqp::iscont($x) {
# container: scalar assignment
nqp::push($tv, $x);

0 comments on commit 1886ee9

Please sign in to comment.