https://issues.dlang.org/show_bug.cgi?id=17942
--- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/8c28783bbc6ccbef576bcc227cf6426277ef940b fix Issue 17942 - Enums are evaluated differently in global scope https://github.com/dlang/dmd/commit/cee0643ba4256bb1f24cbd24bb2b43435ea041a4 Merge pull request #8077 from WalterBright/fix17942 fix Issue 17942 - Enums are evaluated differently in global scope merged-on-behalf-of: Iain Buclaw <ibuc...@gdcproject.org> --