Summary: [module] compiler fails to handle import of renamed
           Product: D
           Version: D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2011-12-16 21:19:16 PST ---
---- a0.d ----
module foo;
---- a1.d ----
module a1;
import a0;
dmd -lib a0.d a1.d
a1.d(2): Error: module foo from file a0.d conflicts with another module foo
from file a0.d

The compiler should detect this import as an already known module.
This is important when splitting a module into declaration and
definition when the defining file should be located in a path
that doesn't match the module name.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to