mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[stdlib] YAIAPR (#18956)
* Scrap Comparable conformance for _SwiftNSOperatingSystemVersion * Lazy performance needs specialization * Uninline dump/stdout * Bool consistency * fixup CollectionOld * Uninline printing functions
This commit is contained in:
@@ -466,6 +466,17 @@ extension String { // RangeReplaceableCollection
|
||||
}
|
||||
}
|
||||
|
||||
@available(*, unavailable, renamed: "TextOutputStream")
|
||||
public typealias OutputStreamType = TextOutputStream
|
||||
|
||||
extension TextOutputStreamable {
|
||||
@available(*, unavailable, renamed: "write(to:)")
|
||||
public func writeTo<Target : TextOutputStream>(_ target: inout Target) {
|
||||
Builtin.unreachable()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
extension String.UnicodeScalarView : _CustomPlaygroundQuickLookable {
|
||||
@available(*, deprecated/*, obsoleted: 5.0*/, message: "UnicodeScalarView.customPlaygroundQuickLook will be removed in Swift 5.0")
|
||||
public var customPlaygroundQuickLook: _PlaygroundQuickLook {
|
||||
|
||||
Reference in New Issue
Block a user