Skip to content

Commit 29c93d3

Browse files
author
Dave Abrahams
authored
Merge pull request #4089 from apple/underscore-playgroundquicklook
Begin moving PlaygroundQuickLook support to PlaygroundSupport module
2 parents 13a9908 + 43ebd51 commit 29c93d3

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

stdlib/public/SDK/Foundation/Notification.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ public struct Notification : ReferenceConvertible, Equatable, Hashable {
7070
} else if rhs.object != nil {
7171
return false
7272
}
73-
if let lhsUserInfo = lhs.userInfo {
74-
if let rhsUserInfo = rhs.userInfo {
73+
if lhs.userInfo != nil {
74+
if rhs.userInfo != nil {
7575
// user info must be compared in the object form since the userInfo in swift is not comparable
7676
return lhs._bridgeToObjectiveC() == rhs._bridgeToObjectiveC()
7777
} else {

stdlib/public/core/Mirror.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -944,3 +944,7 @@ extension Mirror : CustomReflectable {
944944

945945
@available(*, unavailable, renamed: "MirrorPath")
946946
public typealias MirrorPathType = MirrorPath
947+
948+
// Staging so we can move the official declarations into PlaygroundSupport
949+
public typealias _CustomPlaygroundQuickLookable = CustomPlaygroundQuickLookable
950+
public typealias _PlaygroundQuickLook = PlaygroundQuickLook

0 commit comments

Comments
 (0)