[stdlib] Update stdlib to 4.0 and reorganize compatibility shims (#17580)

* Update stdlib to 4.0 and move all compatibility shims into a dedicated source file
This commit is contained in:
Ben Cohen
2018-06-29 06:26:52 -07:00
committed by GitHub
parent 109829b181
commit a4230ab2ad
72 changed files with 1381 additions and 1818 deletions

View File

@@ -12,7 +12,7 @@
@_exported import Foundation // Clang module
extension NSURL : CustomPlaygroundQuickLookable {
extension NSURL : _CustomPlaygroundQuickLookable {
@available(*, deprecated, message: "NSURL.customPlaygroundQuickLook will be removed in a future Swift version")
public var customPlaygroundQuickLook: PlaygroundQuickLook {
guard let str = absoluteString else { return .text("Unknown URL") }