June 10, 2015 [Issue 4397] const/CTFE does not work | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=4397 Andrei Alexandrescu <andrei@erdani.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|D1 & D2 |D2 -- |
May 11, 2019 [Issue 4397] const/CTFE does not work | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=4397 Mathias LANG <pro.mathias.lang@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED CC| |pro.mathias.lang@gmail.com Resolution|--- |INVALID --- Comment #17 from Mathias LANG <pro.mathias.lang@gmail.com> --- This works fine in D2: `enum` gives you a new value every time, but `[static] immutable` does what you expect. -- |
Copyright © 1999-2021 by the D Language Foundation