[squeak-dev] Re: About classVariables
Craig Latta
craig at netjam.org
Mon Oct 13 21:09:14 UTC 2008
Hi Nicolas--
> That's how it works indeed, but the example I provided sounds then
> like very misleading (a bug?):
>
> UndefinedObject class allClassVarNames includes: #ObsoleteSubclasses.
>
> which is a class var of Behavior...
(UndefinedObject class) is an instance of Metaclass, and Metaclass
is a subclass of Behavior, so I would expect Behavior's class variable
names to show up in a list of all the class variables names for
(UndefinedObject class).
I swear I'm getting real work done. ;)
-C
--
Craig Latta
improvisational musical informaticist
www.netjam.org
Smalltalkers do: [:it | All with: Class, (And love: it)]
More information about the Squeak-dev
mailing list
|