Skip to content
Permalink
Browse files

Disable Str.comb(N).count-only/bool-only semantics for now

This Iterator needs an overhaul.
  • Loading branch information...
lizmat committed Sep 8, 2018
1 parent d1e80df commit 9ff17367612606e5a5af1580c54c549852e93a9b
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/Str.pm6
@@ -415,8 +415,8 @@ my class Str does Stringy { # declared in BOOTSTRAP
while ($todo = $todo - 1 ) && ($pos = $pos + $size) < $chars;
$!pos = $!chars;
}
method count-only() { $!max }
method bool-only(--> True) { }
# method count-only() { $!max }
# method bool-only(--> True) { }
}
multi method comb(Str:D: Int:D $size is copy, $limit = *) {
my int $inf = nqp::istype($limit,Whatever) || $limit == Inf;

0 comments on commit 9ff1736

Please sign in to comment.
You can’t perform that action at this time.