--- Comment #4 from Andrej Mitrovic <> 2012-10-19 
20:34:14 PDT ---
(In reply to comment #2)
> snip

The problem is DMD's -v option doesn't output dependencies when an import is
function local.

module test;
import foo;
void main() { }

module foo;
import bar;

bar.d is empty

$ dmd -c -v test.d
> import    foo   (foo.d)
> import    bar   (bar.d)

Now use a local import in foo.d:

module foo;
void loc() { import bar; }

$ dmd -c -v test.d
> import    foo   (foo.d)

DMD doesn't output the import to bar.d when using -v. That has to be fixed.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to