File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
branches/master-rebranch/stdlib/public/core Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -1457,4 +1457,4 @@ refs/tags/swift-DEVELOPMENT-SNAPSHOT-2019-08-02-a: ddd2b2976aa9bfde5f20fe37f6bd2
1457
1457
refs/tags/swift-DEVELOPMENT-SNAPSHOT-2019-08-03-a: 171cc166f2abeb5ca2a4003700a8a78a108bd300
1458
1458
refs/heads/benlangmuir-patch-1: baaebaf39d52f3bf36710d4fe40cf212e996b212
1459
1459
refs/heads/i-do-redeclare: 8c4e6d5de5c1e3f0a2cedccf319df713ea22c48e
1460
- refs/heads/master-rebranch: 344fd583160b035c9763d9062d192c021c18b32c
1460
+ refs/heads/master-rebranch: 8dc7398842caac7ed5fdd8b10224844fc3eb6152
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