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

           Summary: Duplicate file on command-line issues a bad diagnostic
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: andrej.mitrov...@gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2013-03-28 
18:48:35 PDT ---
$ dmd test.d test.d

2.062:
> Error: module test from file test.d conflicts with another module test from 
> file
 test.d

2.063:
> Error: module test from file test.d must be imported as module 'test'

The error should be:
> Error: file test.d is passed more than once on the command-line

Or perhaps there should be no error and DMD should be smart enough to merge
duplicate file paths on the command-line.

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

Reply via email to