https://issues.dlang.org/show_bug.cgi?id=4485
Mathias LANG <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution|--- |INVALID --- Comment #2 from Mathias LANG <[email protected]> --- Indeed, this is the correct behavior. `static immutable` + initializer, or `static const` + initializer leads to a manifest constant which is an lvalue (you can take the address of it). On the other hand, `enum` leads to an rvalue (much like a define, it is copy pasted everywhere). Closing as INVALID. --
