Avatar
@swift-main @swift-5.9.2 func f<each T>( _ value: repeat each T ) -> (repeat each T) { return (repeat each value) } func g<T>( _ value: T ) -> T { return value } let value: Int? = 2 f(value).unsafelyUnwrapped g(value).unsafelyUnwrapped (edited)