Skip to content

Commit

Permalink
Fix an ickle bug in named parameter handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Feb 10, 2010
1 parent dacbea0 commit 8a4c410
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Actions.pm
Expand Up @@ -1118,7 +1118,7 @@ method param_var($/) {

method named_param($/) {
if $<name> { $*PARAMETER.names.push(~$<name>); }
if $<param_var><name> { $*PARAMETER.names.push(~$<param_var><name>[0]); }
elsif $<param_var><name> { $*PARAMETER.names.push(~$<param_var><name>[0]); }
}

method type_constraint($/) {
Expand Down

0 comments on commit 8a4c410

Please sign in to comment.