Skip to content

Commit

Permalink
Fix for hang in t/spec/S05-transliteration/trans.t
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Oct 26, 2015
1 parent 421022d commit c93e637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/List.pm
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,7 @@ multi sub infix:<xx>(Mu \x, Int() $n, :$thunked!) {
my int $todo = $n;
my Mu $pulled;
my Mu $list := nqp::list();
while $todo {
while $todo > 0 {
$pulled := x.();
if nqp::istype($pulled,Slip) {
nqp::push($list, $_) for $pulled;
Expand Down

0 comments on commit c93e637

Please sign in to comment.