Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 9db2d5212e652be868144af438ec42fb173a6178 1 parent 819d371
lizmat lizmat authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/core/ListIter.pm
2  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
}
Please sign in to comment.
Something went wrong with that request. Please try again.