On 2 May 2013 14:14, Camillo Bruni <camillobruni@gmail.com> wrote:
On 2013-05-02, at 12:32, Guillermo Polito <guillermopolito@gmail.com> wrote:
But today using Smalltalk everywhere means that we are always using the same environment, and that does not look like a big deal to anybody :)...
And then, that's easily solved by doing some simple stuff if you like specify an environment, isn't it?
Symbol>>asClass self asClassInEnvironment: self class environment
Symbol>>asClassInEnvironment: anEnvironment anEnvironment globals at: self
#asClass I guess is orthogonal to the #asGlobal discussion, so I opened an issue for it:
+1 asClass is different that is must guarantee that answered object should be class or fail if there's none or it is not a class. -- Best regards, Igor Stasenko.