[swift-evolution] [Pitch] Allow trailing argument labels

Brent Royal-Gordon brent at architechies.com
Wed Feb 22 05:48:15 CST 2017


> On Feb 22, 2017, at 3:32 AM, Haravikk via swift-evolution <swift-evolution at swift.org> wrote:
> 
> 	foo.example(foo) // What did I mean here?
> 	let result = foo.example(foo:) // This looks like I might be trying to select a function, rather than call it

I think it would be really weird to support not one, but *two* potentially ambiguous sugar forms.

-- 
Brent Royal-Gordon
Architechies



More information about the swift-evolution mailing list