June 09, 2015
https://issues.dlang.org/show_bug.cgi?id=5949

Andrei Alexandrescu <andrei@erdani.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |D2

--
September 06, 2020
https://issues.dlang.org/show_bug.cgi?id=5949

Mathias LANG <pro.mathias.lang@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |pro.mathias.lang@gmail.com
         Resolution|---                         |INVALID

--- Comment #2 from Mathias LANG <pro.mathias.lang@gmail.com> ---
The `enum` gives a literal, so the compiler is correct here.
The code works as expected. Using `[static] immutable` will give the desired
error.

--