Skip to content

Instantly share code, notes, and snippets.

@jnthn
Created June 29, 2014 12:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jnthn/ad3f630158cbe969b62a to your computer and use it in GitHub Desktop.
Save jnthn/ad3f630158cbe969b62a to your computer and use it in GitHub Desktop.
diff --git a/src/core/ListIter.pm b/src/core/ListIter.pm
index 058f058..a0211be 100644
--- a/src/core/ListIter.pm
+++ b/src/core/ListIter.pm
@@ -37,9 +37,7 @@ my class ListIter { # declared in BOOTSTRAP
if nqp::isconcrete($x) {
(nqp::unshift($!rest, $x); last) if $eager && $x.infinite;
$x := $x.iterator.reify(
- $eager
- ?? Whatever
- !! nqp::p6box_i($count - nqp::elems($rpa)),
+ nqp::p6box_i($count - nqp::elems($rpa)),
:$sink)
if nqp::istype($x, Iterable);
nqp::splice($!rest, nqp::getattr($x, Parcel, '$!storage'), 0, 0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment