[Issue 22626] New: Can't use synchronized member functions with -nosharedaccess
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Dec 23 10:34:07 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22626
Issue ID: 22626
Summary: Can't use synchronized member functions with
-nosharedaccess
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: atila.neves at gmail.com
-----
class Oops {
synchronized void oops() {}
}
-----
% dmd -o- -preview=nosharedaccess d.d
d.d(2): Error: direct access to shared `this` is not allowed, see `core.atomic`
--
More information about the Digitalmars-d-bugs
mailing list