Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix crash on Range iteration
  • Loading branch information
sorear committed Aug 3, 2011
1 parent 6b9d707 commit 8e562ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/CORE.setting
Expand Up @@ -1486,7 +1486,7 @@ my class RangeIter is IterCursor {
my $cmp = $c cmp $!limit;
($cmp < 0) ?? ($c, RangeIter.new(current => $c.succ,
limit => $!limit, exclusive => $!exclusive)) !!
($cmp > 0 || $!exclusive) ?? Nil !!
($cmp > 0 || $!exclusive) ?? () !!
($c,);
}
}
Expand Down

0 comments on commit 8e562ff

Please sign in to comment.