Issue 12306 - Struct Enums cannot be read at compile time

https://d.puremagic.com/issues/show_bug.cgi?id=12306