On 22 July 2010 16:30, Levente Uzonyi <[email protected]> wrote:
> On Thu, 22 Jul 2010, Lukas Renggli wrote:
>
>>>> 1. #World asClass does not return a class.
>>>
>>> #classNamed: can solve this.
>>
>> No, it still returns an instance of PasteUpMorph.
>
> That's a bug, isn't it?

Yeah, strange :-)

>>>> 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.

A random class if there are multiple environments with the same class name?

Lukas

-- 
Lukas Renggli
www.lukas-renggli.ch

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

Reply via email to