www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 11453] New: Compiling packages has a dependency on order of modules passed to the compiler.

reply d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11453

           Summary: Compiling packages has a dependency on order of
                    modules passed to the compiler.
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: ibuclaw ubuntu.com



Files to reproduce:

test11136.d:
---
module test11136;


bar11136.d:
---
module test11136.bar11136;


dmd -c test11136.d bar11136.d   // works
dmd -c bar11136.d test11136.d   // fails


Message:
---
Error: module test11136 from file test11136.d conflicts with package name
test11136


Found when running the testsuite against gdc + 2.064.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 06 2013
parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=11453




Blocker as I cannot actually pass the testsuite on gdc without this being fixed
- and no I can't switch over the order of sources due to the way dejagnu works.
 :o)

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