[Issue 5949] Mutable enum matrix rows

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Sep 6 22:17:59 UTC 2020


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

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

--- Comment #2 from Mathias LANG <pro.mathias.lang at 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


More information about the Digitalmars-d-bugs mailing list