Tiny improvement… 

Imagine a class where the class var TT is already set to 5.

Object subclass: #TT
        slots: {  }
        classVariables: { #TT  }
        category: ‘PlayGround'


now changing that to a special ClassVariable that saves its value not in the
binding but somewhere else (like ExampleClassVariable), the value should
be copied over on class modification:

Object subclass: #TT
        slots: {  }
        classVariables: { #TT => ExampleClassVariable }
        category: ‘PlayGround'


this is now fixed with

https://pharo.fogbugz.com/f/cases/15112/add-ClassVariableTest-and-a-fix-copy-over-value-when-changing-a-Class-Var-definition

- tests
- when changing a class var to a new kind, make sure to copy the existing value 
over.


        Marcus

Reply via email to