http://d.puremagic.com/issues/show_bug.cgi?id=1441


Oleg Kuporosov <oleg.kuporo...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oleg.kuporo...@gmail.com
         OS/Version|Linux                       |All
           Severity|enhancement                 |major


--- Comment #9 from Oleg Kuporosov <oleg.kuporo...@gmail.com> 2012-10-18 
02:33:19 PDT ---
>From original Nathan's post there are 2 cases, first looks similar to
http://d.puremagic.com/issues/show_bug.cgi?id=2830 (originally for D2 and now
for D1 only)

The fix from commit
https://github.com/D-Programming-Language/dmd/commit/6a8be065d8eda64318643147704aebdcc22fd7b8
effectivelly solves the issue on module level for D2.061 alpha. 

The same time for the case of private nested classes which are still accessable
outside of enclosing class and module. The behaviour should follow "Private
means that only members of the enclosing class can access the member, or
members and functions in the same module as the enclosing class." in
http://dlang.org/attribute.html. 

 While this effectively allows access to private nested 
members from inside the same module, http://dlang.org/class.html "A nested
class is a class that is declared inside the scope of a function or another
class" closing visibility and access to nested members outside of function or
enclosing class even the same module.

The issue is moved from "enhancement" to the bug.

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

Reply via email to