[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] ParseTreeRewriter refactoring

From: Paolo Bonzini
Subject: Re: [Help-smalltalk] ParseTreeRewriter refactoring
Date: Sat, 13 Jan 2007 14:34:14 +0100
User-agent: Thunderbird (Macintosh/20061207)

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]