Skip to content
Browse files

Correct Code.ACCEPTS sig, winning another test file.

  • Loading branch information...
1 parent 91c3937 commit f0b4aea23bbceb195c6186983178766261fe33f0 @jnthn jnthn committed Jun 27, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/core/Code.pm
  2. +1 −1 t/spectest.data
View
2 src/core/Code.pm
@@ -1,5 +1,5 @@
my class Code does Callable {
- multi method ACCEPTS(Code:D $self: $topic) {
+ multi method ACCEPTS(Code:D $self: Mu $topic) {
$self.count ?? $self($topic) !! $self()
}
View
2 t/spectest.data
@@ -175,7 +175,7 @@ S03-operators/subscript-vs-lt.t
# S03-smartmatch/any-array-slice.t
# S03-smartmatch/any-array.t
# S03-smartmatch/any-bool.t
-# S03-smartmatch/any-callable.t
+S03-smartmatch/any-callable.t
# S03-smartmatch/any-complex.t
# S03-smartmatch/any-hash-pair.t
# S03-smartmatch/any-hash-slice.t

0 comments on commit f0b4aea

Please sign in to comment.
Something went wrong with that request. Please try again.