feat(ast): derive Clone for TemplateElement and TemplateElementValue#8658
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Clone and Copy for TemplateElement and TemplateElementValue
CodSpeed Performance ReportMerging #8658 will not alter performanceComparing Summary
|
overlookmotel
left a comment
There was a problem hiding this comment.
Would just Clone be sufficient? TemplateElement is 48 bytes. That's a bit big to be Copy.
2d79a31 to
e2bb198
Compare
a2a6454 to
a730f99
Compare
e2bb198 to
b73f8a8
Compare
b73f8a8 to
f0ed208
Compare
Clone and Copy for TemplateElement and TemplateElementValueClone for TemplateElement and TemplateElementValue
Yes, it is enough. |
f0ed208 to
d287a61
Compare
Merge activity
|
d287a61 to
e2412c8
Compare
e2412c8 to
233dc07
Compare

In #8614, we need to duplicate the same template literal, and derive
CopyandCloneto avoid usingCloneIn.