I wonder if this is really just a bug, or whether there is some good reason why the compiler thinks it needs to copy the copy-on-write array in that one case.
Topic:
Programming Languages
SubTopic:
Swift
Tags: