Skip to content

Commit

Permalink
Merge pull request #5133 from 2colours/patch-1
Browse files Browse the repository at this point in the history
Resolves #2468
  • Loading branch information
MasterDuke17 committed Dec 24, 2022
2 parents 02043da + 480fe2b commit cdc9aa9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core.c/Seq.pm6
Expand Up @@ -178,10 +178,10 @@ my class Seq is Cool does Iterable does Sequence {

multi method ACCEPTS(Seq:D: Iterable:D \iterable --> Bool:D) {
nqp::if(
(my \liter := self.iterator).is-lazy,
(my \riter := self.iterator).is-lazy,
False,
nqp::if(
(my \riter := iterable.iterator).is-lazy,
(my \liter := iterable.iterator).is-lazy,
False,
nqp::stmts(
nqp::until(
Expand Down

0 comments on commit cdc9aa9

Please sign in to comment.