Mantis - Squeak 3.8
Viewing Issue Advanced Details
3782 minor always 06-08-06 06:28 06-08-06 06:28
0003782: No warning when instance variable removed from class definition
If you remove an instance variable from a class definition, you get no warning that it is referenced:

Object subclass: #Behavior
    instanceVariableNames: 'superclass methodDict format'
    classVariableNames: 'ObsoleteSubclasses'
    poolDictionaries: ''
    category: 'Kernel-Classes'

Try removing superclass, for example. This instance variable is used, so it should at least warn you that superclass will be moved to Undefined.
I've included a patch for this bug which mimicks what happens when you remove an instance variable using the RefactoringBrowser (although it does not depend on the RefactoringBrowser).

When you remove an instance variable that is referenced, it asks if you want to browse references, and then aborts the save. Otherwise, it continues the save.
 InstVarRemovalFix.1.cs [^] (3,391 bytes) 06-08-06 06:28

There are no notes attached to this issue.