<div dir="ltr"><div><div><div><div>Hi Colin,<br><br></div>This breaks renaming of classes. Try:<br><br>Object subclass: #Bar instanceVariableNames: '' classVariableNames: '' poolDictionaries: '' category: 'Foo'.<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>>hideBinding: because<br> <br>self undeclare: aBinding key from: bindings<br><br>
makes the binding #Bar => Baz to become a binding pointing to nil, and when we get back to Environment>>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 => nil.<br>
<br></div>Balazs<br></div>