Skip to content

Commit

Permalink
Oops, that should not be a multi
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Nov 8, 2019
1 parent 488feaf commit b4e0012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core.c/Match.pm6
Expand Up @@ -914,7 +914,7 @@ my class Match is Capture is Cool does NQPMatchRole {
$d == 0 ?? $r.chomp !! $r;
}
multi method replace-with(Match:D: Str() $replacement --> Str:D) {
method replace-with(Match:D: Str() $replacement --> Str:D) {
self.prematch ~ $replacement ~ self.postmatch
}
}
Expand Down

0 comments on commit b4e0012

Please sign in to comment.