Fixes Issue 8509 - Appending base type to enum should not result in new enum type.
Merge pull request #1240 from AndrejMitrovic/Fix8509

Issue 8509 - Appending base type to enum should not result in new enum type