mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Previously, we were relying on overly-general subtyping to determine when we could perform an array upcast, which pushed some non-verbatim bridging through that path. Instead, restrict array upcasts to classes and ObjC existentials, and use bridging casts for the other cases. Swift SVN r18291
121 KiB
121 KiB