]> rhodes.io Git - specializable.git/commit
Christophe Weblog Wiki Code Publications Music
get SPECIALIZER-DIRECT-METHODS (and -GENERIC-FUNCTIONS) right
authorChristophe Rhodes <csr21@cantab.net>
Fri, 20 Dec 2013 18:55:02 +0000 (18:55 +0000)
committerChristophe Rhodes <csr21@cantab.net>
Fri, 20 Dec 2013 18:55:02 +0000 (18:55 +0000)
commit10e470a1cb09d5a30ba370be445974634c549da0
tree0d5cf740a170606d1b67be2c59c6c86d2663191b
parentb8c83c9fd387b4c5c71b9365e5c9c9a94830c300
get SPECIALIZER-DIRECT-METHODS (and -GENERIC-FUNCTIONS) right

we can do what we need by having SB-MOP:ADD-DIRECT-METHODS and
SB-MOP:REMOVE-DIRECT-METHODS maintain a per-class table, indexed by
the specializers under SB-PCL::SAME-SPECIALIZER-P, of direct methods.
This then is agnostic to whether the specializers are interned or
freshly generated.
specializable.lisp