Fixes Issue 9368 - Final switch on typedef'ed enum is not properly checked
Merge pull request #1534 from AndrejMitrovic/Fix9368

Issue 9368 - Final switch on typedef'ed enum is not properly checked