Skip to content

Commit

Permalink
Fix Block.ACCEPTS, which was the problem at the root of the 'grep bug'.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Feb 12, 2010
1 parent 1aa8acf commit 952d99e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Block.pm
Expand Up @@ -25,7 +25,7 @@ augment class Block {
}

method ACCEPTS($topic) {
self.arity == 0 ?? self.() !! self.($topic);
self.count == 0 ?? self.() !! self.($topic);
}

}
Expand Down

0 comments on commit 952d99e

Please sign in to comment.