[swift-evolution] [SE-0155][Discuss] The role of labels in enum case patterns

gs. griotspeak at gmail.com
Tue Sep 5 03:06:59 CDT 2017


This becomes false in exactly the situation that you described where there are two projections with similar structure, no? Labels would remove ambiguity here. 
TJ 

> On Sep 4, 2017, at 19:35, Matthew Johnson <matthew at anandabits.com> wrote:
> 
> If the bound name clearly communicates the purpose of the associated value a label cannot add any additional clarity, it can only reduce clarity


More information about the swift-evolution mailing list