Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix for loops in sink context to actually be sunk.
  • Loading branch information
jnthn committed Jul 25, 2013
1 parent 9ba5dde commit 49404ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Perl6/Actions.nqp
Expand Up @@ -992,9 +992,9 @@ class Perl6::Actions is HLL::Actions does STDActions {
QAST::Op.new(:name('&infix:<,>'), :op('call'), $xblock[0]),
block_closure($xblock[1])
);
$past := QAST::Op.new(
:op<callmethod>, :name<eager>, $past
);
$past := QAST::Want.new(
QAST::Op.new( :op<callmethod>, :name<eager>, $past ),
'v', QAST::Op.new( :op<callmethod>, :name<sink>, $past ));
make $past;
}

Expand Down

0 comments on commit 49404ef

Please sign in to comment.