https://issues.dlang.org/show_bug.cgi?id=8858
Timothee Cour <timothee.co...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |timothee.co...@gmail.com Resolution|DUPLICATE |--- --- Comment #2 from Timothee Cour <timothee.co...@gmail.com> --- Re-opening since https://issues.dlang.org/show_bug.cgi?id=7016 dealt with -deps (cf title) whereas this issue deals with -v; 7016 has been fixed but this issue is still there as of DMD64 D Compiler v2.077.0. This bug also affects rdmd, which is based on -v : rdmd does not use -deps output - it uses -v (because -v includes more information); see also https://www.bountysource.com/issues/44926161-fix-issue-7016-local-import-does-not-create-deps-dependency a.d : import b; void main() { f(); } b.d : int f() { import c; return i; } c.d : int i = 42; dmd -v -o- a.d predefs DigitalMars Posix OSX darwin LittleEndian D_Version2 all D_SIMD D_InlineAsm_X86_64 X86_64 D_LP64 D_PIC assert D_HardFloat binary dmd version v2.077.0 config /Users/timothee/homebrew/etc/dmd.conf parse a importall a import object (/Users/timothee/homebrew/opt/dmd/include/dlang/dmd/object.d) import core.attribute (/Users/timothee/homebrew/opt/dmd/include/dlang/dmd/core/attribute.d) import b (b.d) semantic a entry main a.d semantic2 a semantic3 a --