Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make parcel assignmnet a little cheaper.
  • Loading branch information
jnthn committed Oct 1, 2011
1 parent 1c27dea commit c857a18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Parcel.pm
Expand Up @@ -72,7 +72,7 @@ my class Parcel does Positional {
if nqp::iscont($x) {
# container: scalar assignment
nqp::push($tv, $x);
nqp::push($tv, $rhs ?? pir::perl6_decontainerize__PP($rhs.shift) !! Nil);
nqp::push($tv, $rhs.gimme(1) ?? pir::perl6_decontainerize__PP($rhs.shift) !! Nil);
}
elsif nqp::istype($x, Whatever) {
# Whatever: skip assigning value
Expand Down

0 comments on commit c857a18

Please sign in to comment.