[Issue 6114] immutable class variable not properly initialized when the constructor initializing it is non-shared

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jul 5 10:14:59 PDT 2017


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

--- Comment #4 from Jonathan M Davis <issues.dlang at jmdavisProg.com> ---
Really, the larger issue is this one bug# 4923, and maybe this should be closed
given that this is really just another manifestation of that, though if I can
fix the example for this so that it's self-contained, it's a different sort of
example for why immutable globals need to be initialized in shared, static
constructors rather than thread-local ones.

--


More information about the Digitalmars-d-bugs mailing list