Fix duplicate error in data dictionary when two separate enumerations have to same enumeration member name
An error occurs when you add a second enumeration (with different name) to your data dictionary and this enumeration has a member that is called identical like a member of another enumeration.
This should not be recognized as an error. A duplicate error should only appear of the members within the same enumeration have identical names, but not across enumerations (as long as the enumerations have different names).
Test:
- Create an AF3 model with a data dictionary
- Add two enumerations. You should have now MyEnum{First, Second} and MyEnum{First, Second}.
- There should only be one error that complains about the identical enumeration name of "MyEnum", but no other error (like about duplicated "First" or "Second").
- Optional: if you change one enumeration to MyEnum2{First, Second}, there should be none error at all.