:optimize-slot-access
Hi again, Setting :optimize-slot-access to nil doesn't do what is suggested by the documentation in the case of generic function classes. Here is an illustration of what I mean: (defclass my-generic-function (standard-generic-function) ((some-slot :accessor some-slot :initform nil)) (:metaclass funcallable-standard-class)) (defmethod initialize-instance ((gf my-generic-function) &rest args) (apply #'call-next-method gf :otimize-slot-access nil args)) (defmethod slot-value-using-class ((class t) (gf my-generic-function) (name (eql 'some-slot))) "test") (defgeneric ftest (x) (:generic-function-class my-generic-function)) Calling (some-slot #'ftest) yields nil, although it should yield "test" IMHO. Pascal -- ECOOP 2004 Workshops - Oslo, Norway: *1st European Lisp and Scheme Workshop, June 13* http://www.cs.uni-bonn.de/~costanza/lisp-ecoop/ *2nd Post-Java Workshop, June 14* http://prog.vub.ac.be/~wdmeuter/PostJava04/