Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Make ACCEPTS a multi and correct the signature of it.
  • Loading branch information
jnthn committed Jan 16, 2011
1 parent 78031bf commit b0fa8db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/metamodel/how/NQPMu.pm
Expand Up @@ -7,8 +7,8 @@ class NQPMu {
self.CREATE()
}

# XXX This should have siggy (self:U: $topic) and be multi.
method ACCEPTS($topic) {
proto method ACCEPTS($topic) { * }
multi method ACCEPTS(NQPMu:U $self: $topic) {
pir::type_check__IPP($topic, self.WHAT)
}
}

0 comments on commit b0fa8db

Please sign in to comment.