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:
Joe Groff
2016-07-24 09:00:30 -07:00
parent 93d2d299fd
commit 32b50c624d
31 changed files with 33 additions and 297 deletions

View File

@@ -292,10 +292,6 @@ public struct DateComponents : ReferenceConvertible, Hashable, Equatable, _Mutab
// MARK: - Bridging
extension DateComponents : _ObjectiveCBridgeable {
public static func _isBridgedToObjectiveC() -> Bool {
return true
}
public static func _getObjectiveCType() -> Any.Type {
return NSDateComponents.self
}