[squeak-dev] Re: About classVariables
nicolas cellier
ncellier at ifrance.com
Mon Oct 13 20:29:52 UTC 2008
nicolas cellier a écrit :
>
> It is funny with Object because:
>
> (Object class allSuperclasses includes: Object).
>
> So the Object classPool keys will be accessible twice (It does not seem
> to hurt).
>
> Nicolas
>
>
>
Nah, forget it, it does not work that way...
UndefinedObject class>>someSuperObsolete
^ObsoleteSubclasses
would not reach this class var definition though:
(Behavior classVarNames includes: #ObsoleteSubclasses and: [
UndefinedObject class allSuperclasses includes: Behavior].
Which is confirmed by:
UndefinedObject class allClassVarNames includes: #ObsoleteSubclasses.
There is definitely some trick here...
More information about the Squeak-dev
mailing list
|