Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix %*PARAM_INFO<variable_name> with subsignature
See previous commit's description, and the one before that.

Otherwise, `&block:(Dog)` is installed as `&block`, but binding code
is still issued as `&block:(Dog)`
  • Loading branch information
hoelzro committed Dec 7, 2014
1 parent 1926e14 commit cfa8c67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Perl6/Actions.nqp
Expand Up @@ -3698,6 +3698,7 @@ class Perl6::Actions is HLL::Actions does STDActions {
my $subsig := ~$<subsignature>;
# 3 for :()
$name := nqp::substr($name, 0, nqp::chars($name) - nqp::chars($subsig) - 3);
%*PARAM_INFO<variable_name> := $name;
}
self.declare_param($/, $name);
}
Expand Down

0 comments on commit cfa8c67

Please sign in to comment.