[Concurrency] Remove redundant Sendable conformances in the standard library.

These conformances are all redundant because the `Sendable` conformance is
inherited from a superclass.
This commit is contained in:
Holly Borla
2024-07-25 21:51:56 -07:00
parent 7dd8914d88
commit dc3893d9ca
6 changed files with 0 additions and 69 deletions

View File

@@ -61,9 +61,6 @@ internal class __SwiftNativeNSArrayWithContiguousStorage
}
}
@available(*, unavailable)
extension __SwiftNativeNSArrayWithContiguousStorage: Sendable {}
private let NSNotFound: Int = .max
// Implement the APIs required by NSArray
@@ -325,9 +322,6 @@ extension __SwiftNativeNSArrayWithContiguousStorage {
}
}
@available(*, unavailable)
extension _SwiftNSMutableArray: Sendable {}
/// An `NSArray` whose contiguous storage is created and filled, upon
/// first access, by bridging the elements of a Swift `Array`.
///
@@ -435,9 +429,6 @@ extension _SwiftNSMutableArray: Sendable {}
}
}
@available(*, unavailable)
extension __SwiftDeferredNSArray: Sendable {}
/// A `__SwiftDeferredNSArray` which is used for static read-only Swift Arrays.
///
/// In contrast to its base class, `__SwiftDeferredStaticNSArray` is generic
@@ -593,6 +584,3 @@ internal class __ContiguousArrayStorageBase
self !== _emptyArrayStorage, "Deallocating empty array storage?!")
}
}
@available(*, unavailable)
extension __ContiguousArrayStorageBase: Sendable {}