Add compiler error for duplicate enum values #275
Labels
kind: feature: compiler
Adding a new compiler feature or platform target
needs design
Need to work out a reasonably solid plan before we start doing this.
In an
:enum
, we should raise an error if any two:member
declarations have the same value.Open Question:
:member
for the same value (such as in the case of a library wanting to change the name of a member while temporarily keeping deprecated support for the old name)?The text was updated successfully, but these errors were encountered: