Thread overview
[Issue 7903] [TDPL] public member variables are supposed to be illegal in synchronized classes
Jan 06, 2014
Andrej Mitrovic
Jan 06, 2014
Andrej Mitrovic
Jan 06, 2014
Andrej Mitrovic
Jan 07, 2014
Walter Bright
Jan 07, 2014
Andrej Mitrovic
January 06, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=7903


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich@gmail.com


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2014-01-06 11:53:56 PST ---
Also in TDPL:

- Access to protected members is restricted to methods of the class and its
descendants (ed: not sure what's different about this one?)
- Access to private members is restricted to methods of the class

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 06, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=7903


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
         AssignedTo|nobody@puremagic.com        |andrej.mitrovich@gmail.com


--- Comment #2 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2014-01-06 12:23:26 PST ---
https://github.com/D-Programming-Language/dmd/pull/3067

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 06, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=7903


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrei@erdani.com


--- Comment #3 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2014-01-06 12:24:54 PST ---
(In reply to comment #2)
> https://github.com/D-Programming-Language/dmd/pull/3067

(In reply to comment #1)
> Also in TDPL:
> 
> - Access to protected members is restricted to methods of the class and its
> descendants (ed: not sure what's different about this one?)
> - Access to private members is restricted to methods of the class

Not implemented in the above pull. I can work on these later, although I still need elaboration on what the first item means. Perhaps Andrei meant that protected members will not be accessible from within the same module just like the private members?

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 07, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=7903


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com


--- Comment #4 from Walter Bright <bugzilla@digitalmars.com> 2014-01-06 20:48:53 PST ---
The spec is the spec, not TDPL, so these should be accompanied by a pull request on the spec.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 07, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=7903



--- Comment #5 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2014-01-07 00:54:54 PST ---
(In reply to comment #4)
> The spec is the spec, not TDPL, so these should be accompanied by a pull request on the spec.

As soon as we have a passing and merged pull I'll make an accompanying pull. Otherwise there's not much point in making two pulls when one of the pulls might take months to merge (forcing the dev to rebase two pulls instead of just one).

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------