mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[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:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user