Avatar
rdar://problem/40916953 @swift-4.1.3 @swift-4.2.4 -suppress-warnings struct ConditionalCast<T> { static func cast(value: Any?) -> T? { return value as? T } } print(ConditionalCast<Int?>.cast(value: nil))