mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
stdlib: Remove _isBridgedToObjectiveC from _ObjectiveCBridgeable.
All generic bridgeable types can bridge for all their instantiations now. Removing this ferrets out some now-unnecessary traps that check for unbridgeable parameter types.
This commit is contained in:
@@ -510,7 +510,7 @@ public func _swift_ClassMirror_quickLookObject(_: _MagicMirrorData) -> AnyObject
|
||||
func _swift_isKind(_ object: AnyObject, of: AnyObject) -> Bool
|
||||
|
||||
func _isKind(_ object: AnyObject, of: String) -> Bool {
|
||||
return _swift_isKind(object, of: _bridgeToObjectiveC(of)!)
|
||||
return _swift_isKind(object, of: _bridgeAnythingToObjectiveC(of))
|
||||
}
|
||||
|
||||
func _getClassPlaygroundQuickLook(_ object: AnyObject) -> PlaygroundQuickLook? {
|
||||
|
||||
Reference in New Issue
Block a user