Skip to content

Commit

Permalink
Merge pull request #3900 from codesections-forks/deprecate-parse-names
Browse files Browse the repository at this point in the history
Deprecate parse-names
  • Loading branch information
lizmat committed Sep 2, 2020
2 parents a937174 + eef7383 commit 82d5052
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core.c/Str.pm6
Expand Up @@ -3230,7 +3230,7 @@ my class Str does Stringy { # declared in BOOTSTRAP
}

method parse-names(Str:D: --> Str:D) {
# XXX TODO: issue deprecation warning in 6.d; remove in 6.e
Rakudo::Deprecations.DEPRECATED('uniparse');
self.uniparse
}
method uniparse(Str:D: --> Str:D) {
Expand Down Expand Up @@ -3857,7 +3857,7 @@ proto sub samemark($, $, *%) {*}
multi sub samemark($s, $pat --> Str:D) { $s.samemark($pat) }

sub parse-names(Str:D \names) {
# XXX TODO: issue deprecation warning in 6.d; remove in 6.e
Rakudo::Deprecations.DEPRECATED('uniparse');
names.uniparse
}

Expand Down

0 comments on commit 82d5052

Please sign in to comment.