Bug 43044

GemBuilder for Smalltalk/VW

8.5, 8.4, 8.3, 8.2, 8.1, 7.6.1, 7.6

All

Adding instance variables using instance variable tab menu does not add methods to new class version

Version 7.6 introduces new menu functionality on the instance variable tab, next to the class and instance tabs that control visibility of class and instance methods. The Category menu Add... menu item allows you to add an instance variable to the selected class.

However, modifying the class definition in this way creates a new class version, but does not also bring the methods forward to the new class version. This means that the modified class that is visible in your browser has no methods.

Workaround

Do not use this functionality. To add an instance variable, modify the class defintion on the class pane, or use the Class menu item Add > Instance Var.  In later versions, this operation has been disabled.


Last updated: 4/11/13