[squeak-dev] Weird transient Traits test error

Colin Putney colin at wiresong.com
Sat May 4 21:26:00 UTC 2013


On Fri, May 3, 2013 at 1:18 PM, Nicolas Cellier <
nicolas.cellier.aka.nice at gmail.com> wrote:

> Yes but Environments are not stabilized yet.
> Look for example at CompiledMethodTest>>#testMethodClass
> It is failing because Environment>>#forgetClass:logged: moves the class
> binding in undeclared (Dictionary>>#declare:from: ), but then overwrite the
> value with nil.
> Thus the references to AnObsoleteTUTU are then nilled out...
>

Isn't that the correct behaviour? Direct references to the class by name
should be nil, but any variables that refer to the class object still have
a reference to the obsolete class, and instances still have their state but
don't understand messages because their class is obsolete.

If that's not the correct behaviour, what is?

Colin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20130504/c1af029d/attachment.htm


More information about the Squeak-dev mailing list