[swift-evolution] Fwd: Re: Smart KeyPaths
brent at architechies.com
Tue Mar 21 04:34:18 CDT 2017
> On Mar 20, 2017, at 9:12 PM, Ricardo Parada via swift-evolution <swift-evolution at swift.org> wrote:
> If a character had to be used to denote key paths then I would prefer this one:
> 1. Type:path.to.value and instance:path.to.value
> I feel like the # screams at me. :-)
If I write `foo[instance:path.to.value]`, how is Swift to know whether that's a key path or an argument label?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution