r4686: Auto commit for Debian build
[kmrcl.git] / attrib-class.lisp
index 320354af055312ed8524123b2b6f60a293052fa0..b5b8961da1911aaf509229c2e069499aa4e6fe63 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Apr 2000
 ;;;;
-;;;; $Id: attrib-class.lisp,v 1.10 2003/04/29 05:14:11 kevin Exp $
+;;;; $Id: attrib-class.lisp,v 1.11 2003/04/29 06:40:03 kevin Exp $
 ;;;;
 ;;;; This file, part of KMRCL, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
@@ -45,6 +45,7 @@ on example from AMOP"))
   (declare (ignore initargs))
   (kmr-mop:find-class 'attributes-dsd))
 
+#+ignore
 (defmethod kmr-mop:compute-effective-slot-definition :around
     ((cl attributes-class) #+kmr-normal-cesd name dsds)
   #+kmr-normal-cesd (declare (ignore name))
@@ -54,15 +55,16 @@ on example from AMOP"))
    (kmr-mop::compute-effective-slot-definition-initargs cl dsds))
   )
 
-#+ignore
 (defmethod kmr-mop:compute-effective-slot-definition :around
     ((cl attributes-class) #+kmr-named-cesd name dsds)
   #+kmr-named-cesd (declare (ignore name))
-  (let ((normal-slot (call-next-method)))
-    (setf (esd-attributes normal-slot)
-      (remove-duplicates
-       (mapappend #'esd-attributes dsds)))
-    normal-slot))
+  (let ((esd (call-next-method)))
+    (print esd)
+    (print (remove-duplicates
+           (mapappend #'dsd-attributes dsds)))
+    (setf (esd-attributes esd)
+         (remove-duplicates (mapappend #'dsd-attributes dsds)))
+    esd))
 
 
 (defmethod kmr-mop:compute-slots ((class attributes-class))