[Issue 10794] Unsynchronized access to data of syncronized class

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 4 13:49:48 UTC 2023


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

RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |razvan.nitu1305 at gmail.com
         Resolution|---                         |WORKSFORME

--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
I cannot reproduce this. I am getting:

test.d(15): Error: function `test.sneaky(out int bar)` is not callable using
argument types `(shared(int))`
test.d(15):        cannot pass argument `this.bar` of type `shared(int)` to
parameter `out int bar`

Which is correct.

--


More information about the Digitalmars-d-bugs mailing list