While not as nice, Vladimir’s colon suggestion could work. :g() Reminds a bit of C++ but not bad.
> On May 26, 2016, at 2:05 PM, Brent Royal-Gordon <[email protected]> > wrote: > >> * Already very similar notation for enums where you leave off the entity >> name when it can be implied. > > That's the problem. Leading dot already means something—it means "look up a > static member of the type we're expecting here". (That's what you're actually > doing when you access an "enum case".) It can't mean two different things in > the same place. > > -- > Brent Royal-Gordon > Architechies > _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
