Permalink
Browse files

sub foo {*} and sub foo { '{*}' } are not the same, *sigh*

  • Loading branch information...
sorear committed Dec 19, 2011
1 parent 80c1f80 commit 25c05b321a7c180b048024305cb545d852737a97
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/niecza
View
@@ -78,7 +78,7 @@ method metachar:sym<{*}> ($/) {
}
method is_dispatcher($blockoid) {
$blockoid.Str ~~ m/ '{' \s* '*' \s* '}' /;
$blockoid.Str ~~ m:pos(0) / '{' \s* '*' \s* '}' /;
}
method finish_method_routine ($/) {
if self.is_dispatcher($<blockoid>) {

0 comments on commit 25c05b3

Please sign in to comment.