Yes, it matches the order of the generic parameters. I'll mention it explicitly 
in the next version.

> On 26 May 2016, at 03:50, Patrick Smith <[email protected]> wrote:
> 
> Sounds good to me. So it matches the order of the generic parameters?
> 
> e.g.
> 
> func foo<T, U>(t: T, u: U) { … }
> 
> let f1 = foo<Int, String>
> 
> So if the function declaration was changed to swap T and U, it would break, 
> same as say a generic struct type.
> 
> Patrick

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to