http://d.puremagic.com/issues/show_bug.cgi?id=6554

           Summary: Refused two imports of the same module
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: bearophile_h...@eml.cc


--- Comment #0 from bearophile_h...@eml.cc 2011-08-25 02:43:17 PDT ---
This code:

import std.bigint;
void main() {
    import std.bigInt;
}


DMD 2.055head gives this error:

test.d(3): Error: module std.bigint from file ...\src\phobos\std\bigInt.d
conflicts with another module bigint from file ...\src\phobos\std\bigint.d


While this code compiles with no errors:

import std.stdio;
void main() {
    import std.stdio;
}


I think those cases can't be both correct.

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

Reply via email to