[swift-evolution] [Idea] Allowing most keywords after "."

Stephen Celis stephen.celis at gmail.com
Sun Feb 28 12:24:25 CST 2016


> On Feb 28, 2016, at 12:58 AM, Chris Lattner <clattner at apple.com> wrote:
> 
> “default” isn’t core to Doug’s proposal.  There are other keywords that are problematic as well, particularly as we start importing more and more global constants as members (because of https://github.com/apple/swift-evolution/blob/master/proposals/0033-import-objc-constants.md).
> 
> Besides that, we’ve talked about default before: https://github.com/apple/swift-evolution/blob/master/commonly_proposed.md  We could definitely make it context sensitive within refutable patterns (or something) but this doesn’t define away the need for something like Doug’s proposal.

Understood and agreed! I'm definitely in favor of the proposal as it stands and did not mean to derail the conversation.

Stephen


More information about the swift-evolution mailing list