File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -2083,19 +2083,6 @@ public func != <Element : Equatable>(
2083
2083
}
2084
2084
% end
2085
2085
2086
- #if _runtime(_ObjC)
2087
- /// Returns an `Array<Base>` containing the same elements as `a` in
2088
- /// O(1).
2089
- ///
2090
- /// - Precondition: `Base` is a base class or base `@objc` protocol (such
2091
- /// as `AnyObject`) of `Derived`.
2092
- public func _arrayUpCast< Derived, Base> ( _ a: Array < Derived > ) -> Array < Base > {
2093
- // FIXME: Dynamic casting is currently not possible without the objc runtime:
2094
- // rdar://problem/18801510
2095
- return Array ( _buffer: a. _buffer. cast ( toBufferOf: Base . self) )
2096
- }
2097
- #endif
2098
-
2099
2086
#if _runtime(_ObjC)
2100
2087
extension Array {
2101
2088
/// Tries to downcast the source `NSArray` as our native buffer type.
You can’t perform that action at this time.
0 commit comments