On Wed, Apr 24, 2013 at 10:08 AM, Martin Dias <tinchodias@gmail.com> wrote:
Hi,�

(forwarded from pharo-users)

Object�
subclass: #A
instanceVariableNames: ''�
classVariableNames: ''
poolDictionaries: ''�
category: 'Unclassified'.

(Smalltalk at: #A)�
subclass: #B�
instanceVariableNames: ''�
classVariableNames: ''
poolDictionaries: ''�
category: 'Unclassified'.

Object�
variableSubclass: #A�
instanceVariableNames: ''�
classVariableNames: ''
poolDictionaries: ''�
category: 'Unclassified'.

I'm working in the "new class builder" [1]. It automatically propagates this format change to the subclasses, instead of raising the error like the current class builder does. ie, the class B becomes variable when A becomes variable.

Do you agree?


What happens if a subclass was already variable but not simple variable, like byte or words? �they will be changed?

Cheers,
Martin




On Tue, Apr 23, 2013 at 2:05 PM, Martin Dias <tinchodias@gmail.com> wrote:
Hi,

In:

Object�
subclass: #A
instanceVariableNames: ''�
classVariableNames: ''
poolDictionaries: ''�
category: 'Unclassified'.

(Smalltalk at: #A)�
subclass: #B�
instanceVariableNames: ''�
classVariableNames: ''
poolDictionaries: ''�
category: 'Unclassified'.

Object�
variableSubclass: #A�
instanceVariableNames: ''�
classVariableNames: ''
poolDictionaries: ''�
category: 'Unclassified'.

---> why do we raise the error "B cannot be recompiled"?

what's the problem with reformatting subclasses�automatically?

best regards,
Martin







--
Mariano
http://marianopeck.wordpress.com