On Wed, 2005-01-12 at 22:51 +0000, Christophe Rhodes wrote:
> Sverker Wiberg <[EMAIL PROTECTED]> writes:
> 
> > However, the above defclass doesn't work in CMUCL; as I get the error
> >
> >    Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:
> >       :DYNAMIC is not of type (MEMBER :CLASS :INSTANCE)
> >       [Condition of type TYPE-ERROR]
> >
> > which agrees with both the HyperSpec and CLtL2 in that the :allocation
> > slot option is either :class or :instance. (That ":allocation :dynamic"
> > worked in SBCL was just me being lucky, I guess.)
> 
> If you "being lucky" means someone spent a day at LSM2004 making this
> work in sbcl, yes, you're lucky. :-)

Thanks.

> Seriously, I think that how you did it is essentially how you're meant
> to do it; that CLtS-conforming code requires :class or :instance
> allocation doesn't mean that implementations purporting to conform to
> (some of) the MOP can't allow you to use other allocation types.

I was thinking something like that, but I shied at publicly calling it a
CMUCL MOP bug --- lack of nerve, I think, from too much lurking on
c.l.l. So, here goes: This is a bug in the MOP implementation of CMUCL
19a!

/Sverker


Reply via email to