https://issues.dlang.org/show_bug.cgi?id=8227
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from [email protected] --- Hmm. On git HEAD, this code now produces this message: ---- test.d(3): Deprecation: variable test.S.foo const field with initializer should be static, __gshared, or an enum ---- Changing it to static, enum, or auto, doesn't exhibit the problem described. --
