mop: Remove &allow-other-keys from methods.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 30 Apr 2006 18:32:43 +0000 (19:32 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 30 Apr 2006 18:32:43 +0000 (19:32 +0100)
A more careful reading of the CLOS method congruence rules suggests that
these mess up the keyword validity checking.  Which is a shame.

mdw-mop.lisp

index 0766e38..92c164f 100644 (file)
       (call-next-method)))
 
 (defmethod initialize-instance :after
-    ((slot filtered-direct-slot-definition) &key &allow-other-keys)
+    ((slot filtered-direct-slot-definition) &key)
   (with-slots (filter) slot
     (when (and (consp filter)
               (or (eq (car filter) 'function)
     returning a non-nil value."))
 
 (defmethod shared-initialize :after
-    ((class predicate-class-mixin) slot-names &key &allow-other-keys)
+    ((class predicate-class-mixin) slot-names &key)
   (declare (ignore slot-names))
   (with-slots (predicates) class
     (dolist (predicate predicates)