[Newbies] Problem filing out change set

Bert Freudenberg bert at freudenbergs.de
Wed Oct 15 09:14:23 UTC 2008


Am 15.10.2008 um 08:23 schrieb Chris Kermiet:

> "An instance variable was added to class Float and it is not copied  
> in the method veryDeepCopyWith:
> Please rewrite it to handle all instance variables.
> See DeepCopier class comment."

> The instance variable is referenced from the class side:
>
> phi
>     "Answer the constant, Phi."
>     ^ Phi

This should *not* be an instance variable, but a class variable. Put  
Phi in the list of classVariableNames: next to the other constants.

- Bert -




More information about the Beginners mailing list