Permalink
Browse files

Fix crazy unspace method call bug

  • Loading branch information...
1 parent 1b41aa7 commit 881f22b52775320c133d920eeb03d856b9c3e670 @sorear committed Jan 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/NieczaActions.pm6
@@ -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>;
}

0 comments on commit 881f22b

Please sign in to comment.