[Issue 16277] Can't use atomicStore with classes or interface

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 20 05:53:43 UTC 2019


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

Manu <turkeyman at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |turkeyman at gmail.com
         Resolution|---                         |INVALID

--- Comment #1 from Manu <turkeyman at gmail.com> ---
That's a shared violation.
You can't transfer unshared `IL i` to `shared(IL) j`, that would raise the
unshared value to shared, and that would be very bad.

--


More information about the Digitalmars-d-bugs mailing list