[armedbear-devel] Bug in metaclass support

Alessio Stalla alessiostalla at gmail.com
Tue Apr 6 22:27:00 UTC 2010


Hello,

this piece of code produces an error:

(defclass foo () () (:METACLASS STANDARD-CLASS) (:DOCUMENTATION "bar"))

condition of type PROGRAM-ERROR: Invalid initarg :DOCUMENTATION

while it works perfectly fine without :metaclass, presumably because
make-instance is not called to create the class metaobject. On class
redefinition (say, I define foo without :documentation, and redefine
it with it), it gives no error.

This breaks Cells which always puts in a :metaclass option even when
superfluous.

Bye,
Alessio




More information about the armedbear-devel mailing list