<div dir="ltr"><div><div><div><div>Hi Colin,<br><br></div>This breaks renaming of classes. Try:<br><br>Object subclass: #Bar instanceVariableNames: &#39;&#39; classVariableNames: &#39;&#39; poolDictionaries: &#39;&#39; category: &#39;Foo&#39;.<br>
Bar rename: #Baz.<br><br>and then the binding for Baz will point to nil.<br>​<br></div>The problem stems from the change of Environment&gt;&gt;hideBinding: because<br> <br>self undeclare: aBinding key from: bindings<br><br>
makes the binding #Bar =&gt; Baz to become a binding pointing to nil, and when we get back to Environment&gt;&gt;renameClass:from:to:<br></div>it uses that same binding object and just changes the binding key to the new name, so at the end we have a binding #Baz =&gt; nil.<br>
<br></div>Balazs<br></div>