[Ecls-list] Problem with describe-object

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


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?


More information about the ecl-devel mailing list