> On Mar 8, 2017, at 7:09 PM, Daniel Duan via swift-evolution 
> <[email protected]> wrote:
> 
> Hi everyone,
> 
> Here’s revision 2 of SE-0155. I’d love some feedback before going into 
> re-review.
> 
> Note the “anonymous case” feature is not in this proposal. I found the 
> motivation section difficult to write when it’s included. I’ve drafted a 
> separate proposal that adds it.
> 
> Rendered version: 
> https://github.com/dduan/swift-evolution/blob/SE0155-rev2/proposals/0155-normalize-enum-case-representation.md
>  
> <https://github.com/dduan/swift-evolution/blob/SE0155-rev2/proposals/0155-normalize-enum-case-representation.md>

You appear to have pasted a different version below from what's rendered at 
that link.

Some comments:

- Overloading seems like unnecessarily distracting scope creep. I would leave 
it out.

- Having `case leaf()` have type Tree is IMO more surprising than making it 
equivalent to `case leaf`. It should either behave as if it were a method, or 
be banned outright. We don't need two ways to spell the same thing.

-Joe

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to