SE-0155 explicitly allows enum cases to have the same base name.
Enum cases should have distinct full names. Therefore, shared base name will be allowed:
enum SyntaxTree { case type(variables: [TypeVariable]) case type(instantiated: [Type]) }
Do people know about/use this feature in practice? What kind of things do you use it for? I'd particularly interested in examples from existing real-world code (compared to hypothetical examples you might come up with on the spot). From my perspective, it seems confusing when trying to pattern match on such an enum, surely I must be missing something.
Note that the question here is specifically about same base names. I'm not trying to ask for use cases for other features introduced by SE-0155.