Aug. 14, 2010
11:02 a.m.
On 13 August 2010 17:43, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
Hi
Class>>binding     ^ Smalltalk globals associationAt: name ifAbsent: [ nil -> self ]
and it should be
Class>>binding     ^ self environment associationAt: name ifAbsent: [ nil -> self ]
+1
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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.