Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Mark generated *%_ as having hash sigil.
This prevents it getting wrapped up in an extra scalar container.
  • Loading branch information
jnthn committed Apr 7, 2014
1 parent 45863ee commit caa39a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Perl6/Actions.nqp
Expand Up @@ -3004,7 +3004,8 @@ class Perl6::Actions is HLL::Actions does STDActions {
variable_name => '%_',
nominal_type => $*W.find_symbol(['Mu']),
named_slurpy => 1,
is_multi_invocant => 1
is_multi_invocant => 1,
sigil => '%'
));
$past[0].unshift(QAST::Var.new( :name('%_'), :scope('lexical'), :decl('var') ));
$past.symbol('%_', :scope('lexical'));
Expand Down

0 comments on commit caa39a8

Please sign in to comment.