Stephen Compall wrote:
Paolo Bonzini wrote:
    " copy the instance variables (if any) "
    1 to: num do: [ :i |
        aCopy instVarAt: i put: (self instVarAt: i) copy.

Ah! For some reason I skimmed over this, assuming there was a deepCopy at the end of this line rather than a copy.

No, that would be at risk of infinite loops.

Thanks for this further patch, I understand better the purpose of your refactoring.

Paolo



_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to