flix
flix copied to clipboard
Introduce `CaseSym`?
Cases are currently simply Ident
s. It would be more consistent with our other declarations to give them proper symbols.
What about fields and predicates? I think they get a name but not a symbol.
But those are for structural types. You can't point to a field and say "this is where it is declared"
But those are for structural types. You can't point to a field and say "this is where it is declared"
Fair point. In that case I am sold.
This becomes a little scary as the EnumSym + Name.Tag pattern goes all the way to the backend.
I think its many changes, but all of them trivial. We don't mess with tags.