Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix a copy&past-o in method declare_param

  • Loading branch information...
commit eb2f531a6a8e2680d666bc49cdb11ca5de581c12 1 parent c076f5d
@moritz moritz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/Perl6/Actions.pm
View
2  src/Perl6/Actions.pm
@@ -2887,7 +2887,7 @@ class Perl6::Actions is HLL::Actions {
} else {
$cur_pad[0].push(QAST::Var.new( :name(~$/), :scope('lexical'), :decl('var') ));
}
- $cur_pad.symbol(~$/, :scope('lexical'));
+ $cur_pad.symbol($name, :scope('lexical'));
}
method named_param($/) {
Please sign in to comment.
Something went wrong with that request. Please try again.