P.S. I must have thought about fixing copy:) Don't know why I didn't

2014-11-06 17:54 GMT+02:00 Mark Rizun <mri...@gmail.com>:

> If I understand #postCopy is used to override standart copy. Each class
> has(or may have) its own implementation of #postCopy.
> When #copy is applied, #postCopy is called.
>
> 2014-11-06 17:47 GMT+02:00 Marcus Denker <marcus.den...@inria.fr>:
>
>>
>> On 06 Nov 2014, at 16:24, Mark Rizun <mri...@gmail.com> wrote:
>>
>> Normally #copy should copy the AST. But it might not copy all the things
>>> related to start/stop.
>>>
>>
>> Yes #copy, copies not all stuff. That's why I need #deepCopy but it just
>> crashes image. And #veryDeepCopy works veeeery slow.
>> I need another solution. Any suggestions? Maybe there is some kind of
>> method that does what I want?
>>
>>
>> Why not fix #copy to copy the things needed?
>>
>> have a look at the #postCopy methods.
>>
>> Marcus
>>
>
>

Reply via email to