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/[email protected]%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

Reply via email to