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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 6 08:04:17 PST 2013


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 at puremagic.com
        ReportedBy: ibuclaw at ubuntu.com


--- Comment #0 from Iain Buclaw <ibuclaw at ubuntu.com> 2013-11-06 08:04:15 PST ---
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: -------


More information about the Digitalmars-d-bugs mailing list