Skip to content

Commit

Permalink
Make .perl of a Signature include the type captures.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Oct 9, 2009
1 parent f6397bc commit f99cc4b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/setting/Signature.pm
Expand Up @@ -39,6 +39,11 @@ class Signature is also {
}
}

# Any type captures.
for @($param.type_captures) -> $name {
take '::' ~ $name ~ ' ';
}

# Slurpiness, namedness, then the name.
if $param.slurpy { take '*' }
for @($param.named_names) -> $name {
Expand Down

0 comments on commit f99cc4b

Please sign in to comment.