shallow clone issue #599
HungMingWu
started this conversation in
General
Replies: 1 comment 5 replies
-
Sorry, I missed this question the other day. I think the clone() method is only used for the syntax rewriting functionality right now -- do you think it makes sense to have it always do a deep clone? I don't think I'd be against that. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Mike,
I have one request like this
I hope the result similar to
But it is hard to archive due to shallow clone.
So I write my own visitor similar this
It output
Have any plan to support deep clone?
Or an alternative method to archive this?
Thanks for your help.
Beta Was this translation helpful? Give feedback.
All reactions