Permalink
Browse files

Make ListIter.infinite return Bool when it can't make up it's mind.

This at least makes (1..Inf).uniq.infinite return Bool rather than Mu
  • Loading branch information...
1 parent 819d371 commit 9db2d5212e652be868144af438ec42fb173a6178 @lizmat lizmat committed Jul 20, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/ListIter.pm
View
@@ -64,7 +64,7 @@ my class ListIter {
$!rest
?? nqp::istype(nqp::atpos($!rest, 0), Iterable)
&& nqp::atpos($!rest,0).infinite
- || Mu
+ || Bool
!! Bool::False
}

0 comments on commit 9db2d52

Please sign in to comment.