https://issues.dlang.org/show_bug.cgi?id=14269
--- Comment #10 from Jonathan M Davis <issues.dl...@jmdavisprog.com> --- Personally, I think that all operations that the compiler can't guarantee will result in a valid enum value for an enum type should result in the base type of the enum rather than the enum type - without that, stuff like final switch is completely broken - but there's definitely dissent on that, and it's been argued about in the newsgroup. --