Avatar
@swift-5.8.1 func f<T>(_ expr: T) -> T { let val = expr return val } let i = 0 _ = f([0]).firstIndex(of: 0) == i _ = f([0] as [Int]).firstIndex(of: 0) != i (edited)