X-Git-Url: http://git.kpe.io/?p=kmrcl.git;a=blobdiff_plain;f=attrib-class.lisp;fp=attrib-class.lisp;h=b5b8961da1911aaf509229c2e069499aa4e6fe63;hp=320354af055312ed8524123b2b6f60a293052fa0;hb=865f2486d2bb5ff217f640e0475b8646b9480bbe;hpb=858422593b76417361614970d9b84f462f58b6d9 diff --git a/attrib-class.lisp b/attrib-class.lisp index 320354a..b5b8961 100644 --- a/attrib-class.lisp +++ b/attrib-class.lisp @@ -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))