Skip to content

Commit

Permalink
properly reflect capture/parcel binding in signature introspection
Browse files Browse the repository at this point in the history
Closes RT #76116
  • Loading branch information
moritz committed Jun 28, 2010
1 parent 2acfad3 commit 1734e43
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/Signature.pm
Expand Up @@ -74,7 +74,9 @@ augment class Signature {
}

# Slurpiness, namedness, then the name.
if $param.slurpy { take '*' }
if $param.slurpy { take '*' }
if $param.capture { take '|' }
if $param.parcel { take '\|' }
my @names = @($param.named_names);
for @names -> $name {
take ':' ~ $name ~ '(';
Expand Down

0 comments on commit 1734e43

Please sign in to comment.