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

Erica Sadun erica at ericasadun.com
Fri Feb 12 15:11:09 CST 2016


Pull request: https://github.com/apple/swift-evolution/pull/153/files <https://github.com/apple/swift-evolution/pull/153/files>


> On Feb 12, 2016, at 10:23 AM, Chris Lattner <clattner at apple.com> wrote:
> 
> 
>> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160212/c0c5ebca/attachment.html>


More information about the swift-evolution mailing list