Navigation Menu

Skip to content

Commit

Permalink
Fix hash composer ({ a => 1, b => 2 }).
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Jun 19, 2011
1 parent ba41493 commit 12d25b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Actions.pm
Expand Up @@ -2071,7 +2071,7 @@ class Perl6::Actions is HLL::Actions {
}
}
if $is_hash { # XXX && $past.arity < 1 {
my @children := @($past[1]);
my @children := @($past<past_block>[1]);
$past := PAST::Op.new(
:pasttype('call'),
:name('&circumfix:<{ }>'),
Expand Down

0 comments on commit 12d25b6

Please sign in to comment.