Status: New
Owner: ----

New issue 3647 by janko.mi...@gmail.com: Class var #Instance not allowed
http://code.google.com/p/pharo/issues/detail?id=3647

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?


Class>>bindingOf:

       ...
        "Next look in declared environment."
        binding := self environment bindingOf: aSymbol.
        binding ifNotNil:[^binding].
       ...



Reply via email to