[Bug][3.4gammaOne] Adding an instance var to ClassDescriptiondoes not work

Hannes Hirzel hannes.hirzel.squeaklist at bluewin.ch
Tue Feb 25 12:20:06 UTC 2003


Hi all

Interesting observation in Squeak 3.4gammaOne


Class addInstVarName: 'myAdditionalInstVar'.   
"works; tested this moring; takes 10..20 minutes; all 1811 classes
present are recompiled."


Metaclass addInstVarName: 'myAdditionalInstVar'.     
"works; instant execution - only Metaclass is recompiled"


Class superclass                  ClassDescription
Metaclass superclass             ClassDescription

So as a temporary workaround for meta programming one might add an
instance variable to Class and Metaclass individually.

For these reason I see no obstacle in releasing 3.4 as well. Why not for
example at the end of this week?


Hannes Hirzel



More information about the Squeak-dev mailing list