August 30, 2009
Hi,

I'm trying to fetch a module's dependencies with the deps switch, but it gives me an empty list.

dmd main.d -deps=foo.txt

foo.txt is empty.

main.d is:

---
module main;

import other;

int main(char[][] args) {
	someVariable = 3;
	return 0;
}
---

and someVariable is defined in "other".

What am I doing wrong?

August 30, 2009
On Sun, Aug 30, 2009 at 4:35 PM, Ary Borenszweig<ary@esperanto.org.ar> wrote:
> Hi,
>
> I'm trying to fetch a module's dependencies with the deps switch, but it gives me an empty list.
>
> dmd main.d -deps=foo.txt
>
> foo.txt is empty.
>
> main.d is:
>
> ---
> module main;
>
> import other;
>
> int main(char[][] args) {
>        someVariable = 3;
>        return 0;
> }
> ---
>
> and someVariable is defined in "other".
>
> What am I doing wrong?
>
>

http://d.puremagic.com/issues/show_bug.cgi?id=3143