File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -649,13 +649,12 @@ public func _extractDynamicValue<T>(_ value: T) -> AnyObject?
649
649
@_silgen_name ( " _swift_bridgeToObjectiveCUsingProtocolIfPossible " )
650
650
public func _bridgeToObjectiveCUsingProtocolIfPossible< T> ( _ value: T ) -> AnyObject ?
651
651
652
- @usableFromInline
653
- protocol _Unwrappable {
654
- func unwrap( ) -> Any ?
652
+ internal protocol _Unwrappable {
653
+ func _unwrap( ) -> Any ?
655
654
}
656
655
657
656
extension Optional : _Unwrappable {
658
- func unwrap ( ) -> Any ? {
657
+ internal func _unwrap ( ) -> Any ? {
659
658
return self
660
659
}
661
660
}
@@ -706,7 +705,7 @@ public func _bridgeAnythingToObjectiveC<T>(_ x: T) -> AnyObject {
706
705
}
707
706
708
707
if !done, let wrapper = source as? _Unwrappable {
709
- if let value = wrapper. unwrap ( ) {
708
+ if let value = wrapper. _unwrap ( ) {
710
709
result = value as AnyObject
711
710
} else {
712
711
result = _nullPlaceholder
You can’t perform that action at this time.
0 commit comments