Hello again,


If I have an instance variable A in ClassA and I want to use it in ClassB.

If I do the following  in ClassB

objectA := ClassA new.

 

objectA  A: "new value for A".


Why doesn’t this work? Isnt this calling the setter of A on the objectA ?  Pharo doesn’t understand it for some reason .