> On 22 Jan 2015, at 17:44, Aliaksei Syrel <[email protected]> wrote:
> 
> Hi Marcus,
> 
> I think I just found a workaround:
> if you make Slot>>isVirtual to return true by default and override it in 
> InstanceVariableSlot to return false the problem will be gone
> 
> I don't want to subclass InstanceVariableSlot because it becomes impossible 
> to see definition of class with slots in Browser and as soon as I add new 
> instvars all old ones become default InstanceVariableSlot and not my custom.
> 

I will implement the method that checks if a slot should be print the full 
definition (I guess will rename it, too) to be this:

isSpecial
        "I am just a backward compatible ivar slot. Note: my subclasses are 
special"
        ^(self class = InstanceVariableSlot) not

this way the subclass of InstanceVariableSlot will print the full definition.

        Marcus

Reply via email to