We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9303496 commit 6b8f910Copy full SHA for 6b8f910
stdlib/public/core/BridgeObjectiveC.swift
@@ -658,7 +658,7 @@ extension Optional: _Unwrappable {
658
}
659
660
661
-private let _foundationSwiftValueType = _typeByName("FoundationBase.__SwiftValue") as? _NSSwiftValue.Type
+private let _foundationSwiftValueType = (_typeByName("FoundationBase.__SwiftValue") as? _NSSwiftValue.Type) ?? (_typeByName("Foundation.__SwiftValue") as? _NSSwiftValue.Type)
662
663
@usableFromInline
664
internal var _nullPlaceholder: AnyObject {
0 commit comments