http://d.puremagic.com/issues/show_bug.cgi?id=7410
Summary: Wrong error message for selective import
Product: D
Version: D1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Leandro Lucarella <[email protected]>
2012-01-31 08:36:54 PST ---
/tmp$ cat -n a.d
1 module a;
2 alias int type;
/tmp$ cat -n b.d
1 module b;
2 private import a;
/tmp$ cat -n c.d
1 module c;
2 private import b : type;
3 type x;
/tmp$ dmd -c c.d
c.d(3): Error: undefined identifier type
The error should be reported at line 2 saying that the symbol type is private
to module b or something like that.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------