April 08, 2014 Module access to private members of synchronized classes | ||||
---|---|---|---|---|
| ||||
Attachments:
| 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 |
Copyright © 1999-2021 by the D Language Foundation