digitalmars.D.bugs - [Issue 9827] New: Duplicate file on command-line issues a bad diagnostic
- d-bugmail puremagic.com (23/26) Mar 28 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9827
- d-bugmail puremagic.com (10/10) Mar 28 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9827
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 puremagic.com
ReportedBy: andrej.mitrovich gmail.com
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: -------
Mar 28 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9827
Andrej Mitrovic <andrej.mitrovich gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
19:09:03 PDT ---
https://github.com/D-Programming-Language/dmd/pull/1811
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 28 2013








d-bugmail puremagic.com