[Pharo-project] 1.2: class var #Instance not allowed
janko.mivsek at eranova.si
Wed Feb 2 12:26:43 CET 2011
One more problem: if some class have a class variable named #Instance,
it is not loadable anymore.
It seems that problem is in Class>>bindingOf: method, where check is
done in a "declared environment", which happens to be a global
SystemDictionary, where a class Instance actually exists.
This means that no class var with a name which collides with a name of
class is allowed?
"Next look in declared environment."
binding := self environment bindingOf: aSymbol.
Strack trace follows in next mail
Smalltalk Web Application Server
More information about the Pharo-project