Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
pass along labels to $nextiter
  • Loading branch information
FROGGS committed May 21, 2014
1 parent ffe04f7 commit 2ede82a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/MapIter.pm
Expand Up @@ -283,7 +283,7 @@ my class MapIter is Iterator {
#?endif

if $!items || $!listiter {
my $nextiter := nqp::create(self).BUILD($!listiter, $!block, $!flattens);
my $nextiter := nqp::create(self).BUILD($!listiter, $!block, $!flattens, :$!label);
nqp::bindattr($nextiter, MapIter, '$!items', $!items);
nqp::push($rpa, $nextiter);
}
Expand Down

0 comments on commit 2ede82a

Please sign in to comment.