Hello,

Normally #copy should copy the AST. But it might not copy all the things related to start/stop.

I think we should fix it to do that, too.

(sorry that I am a bit slow answering��� lots of things to do)

On 06 Nov 2014, at 11:36, Mark Rizun <mrizun@gmail.com> wrote:

Do you have any other suggestions how can I get completely indemendent copy of ast?

2014-11-06 12:19 GMT+02:00 Mark Rizun <mrizun@gmail.com>:
As I said, I used veryDeepCopy for copying ASTs, and it worked. But! It takes time to copy:)

2014-11-06 11:59 GMT+02:00 Mark Rizun <mrizun@gmail.com>:
You see, when I alpply deepCopy instead of copy, pharo image doesn't respond:)
What I want is to get 100% independent new object ast2, with same caracteristics as ast1.
P.S. Uko, thanks veryDeepCopy works. Read the comments to both methods but still confused why deepCopy didn't work.