Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix pointy blocks inside {...} hashes.
Also need moving to get them correctly scoped. Fixes the .done method
call bug in Supply.merge.
  • Loading branch information
jnthn committed Apr 21, 2014
1 parent ca00d7b commit bd9e2a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Actions.nqp
Expand Up @@ -4729,7 +4729,7 @@ class Perl6::Actions is HLL::Actions does STDActions {
$to[0].push(@decls[$i]);
@decls[$i] := QAST::Op.new( :op('null') );
}
elsif nqp::istype(@decls[$i], QAST::Stmt) &&
elsif (nqp::istype(@decls[$i], QAST::Stmt) || nqp::istype(@decls[$i], QAST::Stmts)) &&
nqp::istype(@decls[$i][0], QAST::Block) {
$to[0].push(@decls[$i][0]);
@decls[$i][0] := QAST::Op.new( :op('null') );
Expand Down

0 comments on commit bd9e2a3

Please sign in to comment.