chiark / gitweb /
mop: Use mdw.base, because it contains useful debugging stuff.
[lisp] / mdw-mop.lisp
index 0766e384cd7968e134a57efc06ffdf23b7d015a7..04cc9339e5d7147de7d21f8200953e9432d6caef 100644 (file)
@@ -27,7 +27,7 @@
 ;;; Packages.
 
 (defpackage #:mdw.mop
-  (:use #:common-lisp #+cmu #:pcl)
+  (:use #:common-lisp #:mdw.base #+cmu #:pcl)
   (:export #:compatible-class
           #:initargs-for-effective-slot #:make-effective-slot
           #:filtered-slot-class-mixin
@@ -152,7 +152,7 @@ (defmethod effective-slot-definition-class
       (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)
@@ -191,7 +191,7 @@ (defclass predicate-class-mixin (compatible-class)
     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)