Skip to content

Commit

Permalink
Add comment Str!APPLY-MATCHES is used...
Browse files Browse the repository at this point in the history
...by stuff outside the class
  • Loading branch information
zoffixznet committed Feb 19, 2018
1 parent 6ac56cc commit 4e5c908
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/Str.pm
Expand Up @@ -1178,6 +1178,7 @@ my class Str does Stringy { # declared in BOOTSTRAP
);
}

# NOTE: this method is also called by s/// op in src/Perl6/Actions.nqp
method !APPLY-MATCHES(\matches,$replacement,\cds,\SDS,\word_by_word,\space,\case,\mark) {
my \callable := nqp::istype($replacement,Callable);

Expand Down

0 comments on commit 4e5c908

Please sign in to comment.