Although you are correct in that the compiler wouldn't be able to guarantee that both "versions" would give the same answer, but that's currently the case anyway.
Sent from my iPhone > On Nov 13, 2016, at 20:03, David Sweeris via swift-evolution > <swift-evolution@swift.org> wrote: > > >> On Nov 13, 2016, at 19:04, arkadi daniyelian <ark...@icloud.com> wrote: >> >> David, what about un-labeled parameters? If a function has 2 parameters of >> the same type, how does compiler know which ones's which? > > If a function has two unlabeled parameters of the same type, you can already > swap their order at the call site. > > - Dave Sweeris > > _______________________________________________ > swift-evolution mailing list > swift-evolution@swift.org > https://lists.swift.org/mailman/listinfo/swift-evolution _______________________________________________ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinfo/swift-evolution