But you can access a classVar from a class method.
So the Smalltalk MOP is quite strange and hackish.

Stef


Hi

to my stupefaction I discovered that the classVariables of a class are
not the same as the ones of its metaclass.

TheRoot classVarNames ~= TheRoot class classVarNames

Does any body have some ideas why this is like that?

Metaclasses don't have class variables

For me this is a conceptual bug.

I think the conceptual bug is that TheRoot class classVarNames
does not raise a DNU

--
Matthew Fulmer -- http://mtfulmer.wordpress.com/

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project



_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to