[Issue 4397] const/CTFE does not work

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat May 11 17:00:39 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=4397

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

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

--- Comment #17 from Mathias LANG <pro.mathias.lang at gmail.com> ---
This works fine in D2: `enum` gives you a new value every time, but `[static]
immutable` does what you expect.

--


More information about the Digitalmars-d-bugs mailing list