[Issue 14251] synchronized (mtx) doesn't check attributes (pure, const)
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Aug 27 00:34:59 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=14251
--- Comment #10 from Walter Bright <bugzilla at digitalmars.com> ---
I have serious misgivings about this being even a bug. The monitor is outside
of the type system, and should work regardless of the type of the class object.
Also, I don't see a good reason why it shouldn't work for pure functions, too.
So I may withdraw the PR to 'fix' it.
--
More information about the Digitalmars-d-bugs
mailing list