Skip to content

Commit

Permalink
Fix crazy unspace method call bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sorear committed Jan 28, 2012
1 parent 1b41aa7 commit 881f22b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NieczaActions.pm6
Expand Up @@ -1702,7 +1702,7 @@ method methodop($/) {
self.do_variable_reference($/, $<variable>.ast));
}
$/.ast.args = $<args>.ast[0] if $<args>;
$/.ast.args = $<args>.ast[0] // [] if $<args>;
$/.ast.args = $<arglist>.ast if $<arglist>;
}
Expand Down

0 comments on commit 881f22b

Please sign in to comment.