[swift-evolution] [Discussion] Enum Leading Dot Prefixes

Chris Lattner clattner at apple.com
Fri Feb 12 11:23:55 CST 2016


> On Feb 11, 2016, at 8:09 PM, Brent Royal-Gordon via swift-evolution <swift-evolution at swift.org> wrote:
> 
>> https://gist.github.com/erica/e0b8a3a22ab716a19db4
>> 
>> Requiring Leading Dot Prefixes for Enum Instance Member Implementations
>> 
>> 	• Proposal: TBD
>> 	• Author(s): Erica Sadun, Chris Lattner
>> 	• Status: TBD
>> 	• Review manager: TBD
> 
> +1. I've always found this slightly bizarre.
> 
> I assume, though, that if you're writing a static member of an enum, the unprefixed form is fine?

Yes, that makes sense to me.

-Chris


More information about the swift-evolution mailing list