[Ecls-list] Problem with describe-object

Goffioul Michael goffioul at imec.be
Wed Jan 26 02:47:04 UTC 2005


Hi,

Trying to overload describe-object for a structure (CLOS is enabled),
ECL produces an error when defining the method as

(defmethod describe-object ((obj struct-class) stream)

As describe-object is currently defined with optional stream, I have
to use a definition like this in ECL:

(defmethod describe-object ((obj struct-class) &optional stream)

But this is against ANSI specs, isn't it?

Michael.




More information about the ecl-devel mailing list