diff --git a/src/core.c/Rakudo/Iterator.pm6 b/src/core.c/Rakudo/Iterator.pm6 index e50996b468f..4f21f01a22a 100644 --- a/src/core.c/Rakudo/Iterator.pm6 +++ b/src/core.c/Rakudo/Iterator.pm6 @@ -1721,14 +1721,11 @@ class Rakudo::Iterator { has &!resumption; has $!push-target; has int $!wanted; - has Bool $.is-lazy; my constant PROMPT = nqp::create(Mu); - method new(&block, \is-lazy) { - my \iter := - nqp::p6bindattrinvres(nqp::create(self),self,'$!is-lazy',is-lazy); - + method new(&block) { + my \iter = nqp::create(self); my int $wanted; my $taken; my $taker := { @@ -1859,7 +1856,7 @@ class Rakudo::Iterator { ) } } - method Gather(&block, :$is-lazy) { Gather.new(&block, $is-lazy.Bool) } + method Gather(&block) { Gather.new(&block) } # Return an iterator for the given low/high integer value (inclusive). # Has dedicated .push-all for those cases one needs to fill a list