<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 3, 2013 at 1:18 PM, Nicolas Cellier <span dir="ltr"><<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Yes but Environments are not stabilized yet.<br></div>Look for example at CompiledMethodTest>>#testMethodClass<br>
</div>It is failing because Environment>>#forgetClass:logged: moves the class binding in undeclared (Dictionary>>#declare:from: ), but then overwrite the value with nil.<br>
</div>Thus the references to AnObsoleteTUTU are then nilled out...</div></blockquote><div><br></div><div>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. </div>
<div><br></div><div>If that's not the correct behaviour, what is?</div><div><br></div><div>Colin</div></div></div></div>