Remove the default implementation of _ObjectiveCBridgeable._unconditionallyBridgeFromObjectiveC.

SILGen can't handle it yet, so pull it out until SILGen is fixed.
This commit is contained in:
Doug Gregor
2016-03-24 16:34:31 -07:00
parent 3561aa5fe0
commit 1889ea2657
22 changed files with 223 additions and 9 deletions

View File

@@ -33,4 +33,11 @@ extension NSRange : _ObjectiveCBridgeable {
self._forceBridgeFromObjectiveC(x, result: &result)
return true
}
public static func _unconditionallyBridgeFromObjectiveC(source: NSValue?)
-> NSRange {
var result: NSRange?
_forceBridgeFromObjectiveC(source!, result: &result)
return result!
}
}