Fix Issue 10285 - Enum member with a type but no identifier should not be allowed.
Merge pull request #3487 from AndrejMitrovic/Fix10285

Issue 10285 - Enum member with a type but no identifier should not be allowed.