<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">&lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com" target="_blank">nicolas.cellier.aka.nice@gmail.com</a>&gt;</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&gt;&gt;#testMethodClass<br>
</div>It is failing because Environment&gt;&gt;#forgetClass:logged: moves the class binding in undeclared (Dictionary&gt;&gt;#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&#39;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&#39;t understand messages because their class is obsolete. </div>
<div><br></div><div>If that&#39;s not the correct behaviour, what is?</div><div><br></div><div>Colin</div></div></div></div>