fixes #20015; document shallowCopy does a deep copy with ARC/ORC#20025
Conversation
|
Thanks for your hard work on this PR! Hint: mm: orc; threads: on; opt: speed; options: -d:release |
|
@Araq is this the long-term plan, that |
|
Yes, you're right. We should simply remove it from system.nim for --mm:orc. (You're supposed to use |
this is semantically different: a shallow copy allows (mutable) aliasing (in an unhealthy way, I'd argue, but this is a different story) - so the two are not .. equivalent - that said, good riddance. |
|
I know it's semantically different, else we would implement shallowCopy as move... But often it can be used instead. |
fixes #20015