[swift-evolution] Dotless case names in switch cases

Chris Lattner clattner at apple.com
Sun Jan 17 15:48:00 CST 2016

> On Jan 16, 2016, at 2:29 AM, Brent Royal-Gordon via swift-evolution <swift-evolution at swift.org> wrote:
>> This works by normal instance member lookup. Why do you think it should be removed?
> Wait, why would the case be an instance member? Isn't it equivalent to a static member?

Yes.  IMO, it should only be found by unqualified lookup when in a static member.

This has always bugged me :-(


More information about the swift-evolution mailing list