https://issues.dlang.org/show_bug.cgi?id=5949
Mathias LANG <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |INVALID --- Comment #2 from Mathias LANG <[email protected]> --- The `enum` gives a literal, so the compiler is correct here. The code works as expected. Using `[static] immutable` will give the desired error. --
