Skip to content

Commit

Permalink
Switch MapIter to use QRPA for its internal item lists.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Jun 8, 2012
1 parent dace77c commit 809b8f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/MapIter.pm
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ my class MapIter is Iterator {
my Mu $rpa := nqp::list();

if $!first {
$!items := nqp::list();
$!items := nqp::qlist();
pir::perl6_set_block_first_flag__vP($block)
if (nqp::can($block, 'phasers') && $block.phasers('FIRST'));
}
Expand Down Expand Up @@ -60,7 +60,7 @@ my class MapIter is Iterator {
rpa = find_lex '$rpa'
MapIter = find_lex 'MapIter'
items = getattribute self, MapIter, '$!items'
args = new 'ResizablePMCArray'
args = new 'QRPA'
block = find_lex '$block'
handler = root_new ['parrot';'ExceptionHandler']
NEXT = find_lex '$NEXT'
Expand Down

0 comments on commit 809b8f8

Please sign in to comment.