Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
expose sub signatures of a Parameter
  • Loading branch information
moritz committed Jul 20, 2012
1 parent 4eeffca commit b15d33b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/Parameter.pm
Expand Up @@ -177,4 +177,8 @@ my class Parameter {
}
$perl
}

method sub_signature(Parameter:D:) {
nqp::isnull($!sub_signature) ?? Any !! $!sub_signature
}
}

0 comments on commit b15d33b

Please sign in to comment.