Lisp HUG Maillist Archive

Two more MOP bugs

Hi,

AMOP states the following in its specification for 
ensure-generic-function-using-class: "If the class of the 
generic-function argument is not the same as the class specified by the 
:generic-function-class argument, an error is signaled." This doesn't 
seem to be the case.

Furthermore, it doesn't seem to be possible to specialize 
method-qualifiers or method-specializers. LispWorks crashes when I try 
to do this. Type the following in a buffer, and then compile it: (Save 
your work beforehand!)

(use-package '#:clos)

(defclass my-method (standard-method)
   ())

(defmethod method-qualifiers ((method my-method))
   (call-next-method))


(This is for LispWorks for Mac, personal edition 4.3r2)

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/


Updated at: 2020-12-10 08:56 UTC