Bug 10169 – duplicate error message: member is not accessible
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-05-25T21:52:00Z
Last change time
2014-04-11T02:28:53Z
Keywords
diagnostic, pull
Assigned to
nobody
Creator
thelastmammoth
Comments
Comment #0 by thelastmammoth — 2013-05-25T21:52:50Z
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;
}
----
Comment #1 by thelastmammoth — 2013-05-25T21:54:12Z
on this example the error would be:
Error: struct b.B member x is not accessible:
=> error line repeated twice.