[Issue 9827] New: Duplicate file on command-line issues a bad diagnostic
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Mar 28 18:48:36 PDT 2013
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: nobody at puremagic.com
ReportedBy: andrej.mitrovich at gmail.com
--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at 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: -------
More information about the Digitalmars-d-bugs
mailing list