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

Simen Kjaeraas <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |INVALID

--- Comment #1 from Simen Kjaeraas <[email protected]> ---
This is intended behavior - a const variable with an initializer has a known
value at compile time, while one without is expected to be initialized in a
static constructor, and using its value before that point is undefined
behavior.

--

Reply via email to