|
From: | Paolo Bonzini |
Subject: | Re: [Help-smalltalk] ParseTreeRewriter refactoring |
Date: | Sat, 13 Jan 2007 14:34:14 +0100 |
User-agent: | Thunderbird 1.5.0.9 (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.
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |