Skip to content

Commit

Permalink
Only a PredictiveIterator supports count-only
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Sep 9, 2018
1 parent a756998 commit 500bbda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion S32-list/seq.t
Expand Up @@ -221,7 +221,7 @@ is-deeply .perl.EVAL.flat, .flat,
with (1, $((2, 3).Seq));

Seq.new(
class :: does Iterator {
class :: does PredictiveIterator {
my $mess = 'Seq.Numeric uses .count-only method, when available';
method pull-one { flunk $mess; IterationEnd }
method count-only { pass $mess }
Expand Down

0 comments on commit 500bbda

Please sign in to comment.