Summary: Wrong error message for selective import
           Product: D
           Version: D1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Leandro Lucarella <> 
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:
------- You are receiving this mail because: -------

Reply via email to