Bug 14052 – `dmd -deps` lists imports from failed __traits(compiles) blocks

Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-01-26T16:02:00Z
Last change time
2015-06-09T05:14:48Z
Keywords
pull
Assigned to
nobody
Creator
public

Comments

Comment #0 by public — 2015-01-26T16:02:44Z
Follow-up to https://issues.dlang.org/show_bug.cgi?id=14050 Quoting Kenji: > -deps has similar issue, but i'm not sure it should be fixed. > If it's a problem, please open a new issue. I believe it should also be fixed, for the same reason - it will break build systems using -deps output to determine dependency modules needed to compile the project.
Comment #1 by k.hara.pg — 2015-01-26T16:25:48Z
Comment #2 by k.hara.pg — 2015-01-27T13:50:40Z
For the module dependency tracking, -deps should list all modules that were trying to import in the compiled code. Therefore current -deps output is legitimete and not have to be changed.