Skip to content

Commit

Permalink
Correct Code.ACCEPTS sig, winning another test file.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Jun 26, 2011
1 parent 91c3937 commit f0b4aea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/Code.pm
Original file line number Original file line Diff line number Diff line change
@@ -1,5 +1,5 @@
my class Code does Callable { 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() $self.count ?? $self($topic) !! $self()
} }


Expand Down
2 changes: 1 addition & 1 deletion t/spectest.data
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ S03-operators/subscript-vs-lt.t
# S03-smartmatch/any-array-slice.t # S03-smartmatch/any-array-slice.t
# S03-smartmatch/any-array.t # S03-smartmatch/any-array.t
# S03-smartmatch/any-bool.t # S03-smartmatch/any-bool.t
# S03-smartmatch/any-callable.t S03-smartmatch/any-callable.t
# S03-smartmatch/any-complex.t # S03-smartmatch/any-complex.t
# S03-smartmatch/any-hash-pair.t # S03-smartmatch/any-hash-pair.t
# S03-smartmatch/any-hash-slice.t # S03-smartmatch/any-hash-slice.t
Expand Down

0 comments on commit f0b4aea

Please sign in to comment.