Duplicate union(enum) variant labels of differing types do not result in an error #730
This compiles with the following error:
We should get a warning regarding the duplicate tagname instead. Reversing the order of declaration makes the following code work. I presume we just are not checking for duplicate tag names and are taking the first present value as the actual.
Also probably related, but when the tagnames are of identical types.
The text was updated successfully, but these errors were encountered: