<div dir="ltr"><div>In the TDPL, on page 419:</div><div><br></div><div><br></div><div>"Not so for synchronized classes, which obey the following rules:</div><div>- Access to private members is restricted to methods of the class."</div>
<div><br></div><div><br></div><div>I can't find anything in the specs on this, so is this valid statement?</div><div><br></div><div>I've found a issue by Andrej here where he mentioned this (<a href="http://forum.dlang.org/thread/bug-7903-3@https.d.puremagic.com%2Fissues%2F">http://forum.dlang.org/thread/bug-7903-3@https.d.puremagic.com%2Fissues%2F</a>), but no confirmation on these questions.</div>
<div><br></div><div>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: <a href="https://github.com/NemanjaBoric/dmd">https://github.com/NemanjaBoric/dmd</a> (first push ever, don't mind me if something is wrong there)</div>
<div><br></div><div><br></div><div>Thanks,</div><div>Nemanja</div></div>