mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[stdlib] Make protocol _NSArrayCore internal
These shadow protocols don’t add any real type safety, and exposing them in the ABI seems unnecessary.
This commit is contained in:
@@ -431,7 +431,7 @@ internal struct _ContiguousArrayBuffer<Element> : _ArrayBufferProtocol {
|
||||
///
|
||||
/// - Complexity: O(1).
|
||||
@inlinable
|
||||
internal __consuming func _asCocoaArray() -> _NSArrayCore {
|
||||
internal __consuming func _asCocoaArray() -> AnyObject {
|
||||
if count == 0 {
|
||||
return _emptyArrayStorage
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user