Hi 

Class>>binding
        ^ Smalltalk globals associationAt: name ifAbsent: [ nil -> self ]

and it should be 

Class>>binding
        ^ self environment associationAt: name ifAbsent: [ nil -> self ]

since the environment of the class could be another systemDictionary.

Class>>environment

        environment == nil ifTrue: [^ super environment].
        ^ environment

http://code.google.com/p/pharo/issues/detail?id=2799

Stef


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

Reply via email to