>>> Pierre Lorenzon <devel@...> seems to think that:
>I always thought that :initform stored in class-public-d slot
>of the vector class was inherited. I wonder how I never
>encounter the problem. But I discover now that it is not the
>case. Indeed, value is overriden when defining a subclass even
>if nothing is specified in the subclass. In this case slot
>become unbound by default. Should we not make a simple test
>inhibiting overriding when nothing is specified in the subclss
>keeping the initform of the superclass ?
[ ... ]
I checked in a change to account for not changing the default for
instance slots, but not class allocated slots, and also put a test in
Unfortunately, at that key location in eieio, I can't distinguish from
someone setting the default to unbound on purpose, vs not setting it
at all. As aside affect, a child class can't set the default as
unbound in a subclass anymore.
Eric Ludlam: eric@...
Siege: http://www.siege-engine.com Emacs: http://cedet.sourceforge.net