[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

@@ -14,7 +14,7 @@
% for Self in ['SKShapeNode', 'SKSpriteNode', 'SKTextureAtlas', 'SKTexture']:
extension ${Self} : CustomPlaygroundQuickLookable {
extension ${Self} : _CustomPlaygroundQuickLookable {
@available(*, deprecated, message: "${Self}.customPlaygroundQuickLook will be removed in a future Swift version")
public var customPlaygroundQuickLook: PlaygroundQuickLook {
let data = (self as AnyObject)._copyImageData?() as Data?