Skip to content

Commit

Permalink
Add missing :node(...)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Feb 25, 2015
1 parent 1bb9e5a commit 245c9ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Actions.nqp
Expand Up @@ -6905,7 +6905,7 @@ class Perl6::Actions is HLL::Actions does STDActions {
]));
$block[0].push(QAST::Var.new( :name('self'), :scope('lexical'), :decl('var') ));
$block[0].push(QAST::Var.new( :name('$_'), :scope('lexical'), :decl('var') ));
$block.push(QAST::Stmts.new( $initializer ));
$block.push(QAST::Stmts.new( $initializer, :node($/) ));
$block.symbol('self', :scope('lexical'));
add_signature_binding_code($block, $sig, @params);
$block.blocktype('declaration_static');
Expand Down

0 comments on commit 245c9ea

Please sign in to comment.