On Thu, 22 Jul 2010, Stéphane Ducasse wrote:
2. We are trying to remove all direct references to the Smalltalk
namespace, this however hardcodes the Smalltalk namespace again.
self environment can solve this.
No, what will #asClass return if you have different instances of Smalltalk?
A Class or nil.
what lukas wants to say is that using asClass you cannot write code that can
used
on different instances of systemDictionary and this was one of the goal of a
lot of cleaning.
AFAIK there's no usable namespace implementation for Pharo. As soon as one
will be available, that will be able to solve the class lookup. If not,
then how will the following code work?:
MyClass new
Levente
Stef
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project