Skip to content

Commit

Permalink
Fix sub indices proto
Browse files Browse the repository at this point in the history
Spotted by Stefan Seifert++.  Note to self: always run "make test"!
  • Loading branch information
lizmat committed Feb 14, 2020
1 parent a6acfd0 commit aefc851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.c/Cool.pm6
Expand Up @@ -522,7 +522,7 @@ multi sub fc(Cool $s) { $s.fc }
proto sub tclc($, *%) {*}
multi sub tclc(Cool $s) { $s.tclc }

proto sub indices($, |) {*}
proto sub indices($, $, $?, *%) {*}
multi sub indices(Cool:D $s,
Cool:D $needle, :i(:$ignorecase), :m(:$ignoremark), :$overlap) {
$s.indices($needle, :$ignorecase, :$ignoremark, :$overlap)
Expand Down

0 comments on commit aefc851

Please sign in to comment.