Skip to content

Commit

Permalink
R:I.from-indexes is only lazy if both sources are
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Jul 30, 2017
1 parent e051dd2 commit 4db2306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Rakudo/Iterator.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1631,7 +1631,7 @@ class Rakudo::Iterator {
)
)
}
method is-lazy() { $!source.is-lazy }
method is-lazy() { $!source.is-lazy && $!indexes.is-lazy }
}.new(source,indexes,offset,&out)
}

Expand Down

0 comments on commit 4db2306

Please sign in to comment.