Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Oops, any named param should take slow path
  • Loading branch information
lizmat committed Feb 20, 2015
1 parent e6b992f commit 232601a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Str.pm
Expand Up @@ -649,7 +649,7 @@ my class Str does Stringy { # declared in BOOTSTRAP
}

multi method subst(Str:D: Str \from, Str \to, :$global!, *%adverbs) {
if $global {
if $global && !%adverbs {
TRANSPOSE(self,from,to);
}
else {
Expand Down

0 comments on commit 232601a

Please sign in to comment.