Skip to content

Commit

Permalink
Make sub uniparse a multi
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Feb 27, 2018
1 parent 9a0a7bd commit 32b0803
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/Str.pm
Expand Up @@ -3114,6 +3114,8 @@ sub parse-names(Str:D \names) {
# XXX TODO: issue deprecation warning in 6.d; remove in 6.e
names.uniparse
}
sub uniparse (Str:D \names) { names.uniparse }

proto sub uniparse(|) {*}
multi sub uniparse(Str:D \names) { names.uniparse }

# vim: ft=perl6 expandtab sw=4

0 comments on commit 32b0803

Please sign in to comment.