Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[core/Cool-str] s/Str/Cool/ inside .trans
Courtesy of Håkan Kjellerstrand.
  • Loading branch information
Carl Masak committed Feb 9, 2011
1 parent cad076f commit 184bf7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Cool-str.pm
Expand Up @@ -212,7 +212,7 @@ augment class Cool {
$!index = $!next_match + $/.chars;
}

multi submethod increment_index(Str $s) {
multi submethod increment_index(Cool $s) {
$!index = $!next_match + $s.chars;
}

Expand Down

0 comments on commit 184bf7f

Please sign in to comment.