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

Steven Schveighoffer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #6 from Steven Schveighoffer <[email protected]> ---
The example isn't exactly pointing out the error.

There are 2 problems here, one is an expectation that a non-shared static ctor
might run before the shared one (it doesn't, the order is clearly defined).
That's not really a bug.

The second is that immutable (shared) data is changing from one thread to the
next.

I think this should be closed as a dup of 4923.

*** This issue has been marked as a duplicate of issue 4923 ***

--

Reply via email to