www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 10169] New: duplicate error message: member is not accessible

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10169

           Summary: duplicate error message: member is not accessible
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: thelastmammoth gmail.com


--- Comment #0 from thelastmammoth gmail.com 2013-05-25 21:52:50 PDT ---
Error: struct tests.test_alias.test_alias_this2.B member x is not accessible:
error line repeated twice.
----
b.d:
module b;
struct B{
    private int x;
}
a.d:
import b;
void main(){
    auto a=B.init.x;
}
----

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 25 2013
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=10169



--- Comment #1 from thelastmammoth gmail.com 2013-05-25 21:54:12 PDT ---
on this example the error would be:

Error: struct b.B member x is not accessible:
=> error line repeated twice.

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