[swift-evolution] [Discussion] Enum Leading Dot Prefixes
mayoff at dqd.com
Thu Feb 11 21:17:20 CST 2016
On Thu, Feb 11, 2016 at 9:00 PM, Erica Sadun via swift-evolution <
swift-evolution at swift.org> wrote:
> Unlike static members in structures and classes, enumeration cases can be
> mentioned in initializers and instance methods without referencing a fully
> qualified type.
Why not go the other way then and allow instance methods to refer to static
members (or class members) directly, without the type name prefix?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution