Module access to private members of synchronized classes
Nemanja Borić
4burgos at gmail.com
Mon Apr 7 07:18:03 PDT 2014
In the TDPL, on page 419:
"Not so for synchronized classes, which obey the following rules:
- Access to private members is restricted to methods of the class."
I can't find anything in the specs on this, so is this valid statement?
I've found a issue by Andrej here where he mentioned this (
http://forum.dlang.org/thread/bug-7903-3@https.d.puremagic.com%2Fissues%2F),
but no confirmation on these questions.
DMD is allowing this, and the fork which doesn't is here, but I'm not sure
if I should file a bug, as this is not in the specs:
https://github.com/NemanjaBoric/dmd (first push ever, don't mind me if
something is wrong there)
Thanks,
Nemanja
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20140407/10eef4dc/attachment.html>
More information about the Digitalmars-d
mailing list