Bug 13704 – Confusing error message when passing the same file on the command line twice

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2014-11-09T17:18:00Z
Last change time
2015-02-18T03:39:23Z
Keywords
diagnostic, pull
Assigned to
nobody
Creator
r.sagitario

Comments

Comment #0 by r.sagitario — 2014-11-09T17:18:03Z
This happens to me sometimes when merging branches for druntime or phobos: >dmd src\gc\config.d src\gc\config.d Error: module gc.config from file src\gc\config.d must be imported with 'import gc.config;' bacause the command line is too long to spot duplicates.
Comment #1 by r.sagitario — 2014-11-09T17:22:14Z
Comment #2 by github-bugzilla — 2014-11-10T09:20:42Z
Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/011ee1fc25c6b97a7f1f3baa334c096169f97587 Merge pull request #4123 from rainers/issue13704 Fix issue 13704 - Confusing error message when passing the same on the command line twice
Comment #3 by hsteoh — 2014-11-22T06:18:26Z
The PR has been merged; is this bug fixed now? Can we close it?
Comment #4 by r.sagitario — 2014-11-22T08:02:04Z
Yes, I think it can be closed. It seems the automatic closing didn't like something about the title?
Comment #5 by hsteoh — 2014-11-22T15:38:29Z
Dunno, I've found that often I've to manually close the bugs, even though the commit hook does add a comment that a PR has been pushed.
Comment #6 by github-bugzilla — 2015-02-18T03:39:23Z