digitalmars.D.bugs - [Issue 14118] New: dmd -v misses imports
- via Digitalmars-d-bugs (34/34) Feb 03 2015 https://issues.dlang.org/show_bug.cgi?id=14118
https://issues.dlang.org/show_bug.cgi?id=14118 Issue ID: 14118 Summary: dmd -v misses imports Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: ketmar ketmar.no-ip.org let's create two files: === z00.d === module z00; import z01; void main () { auto a = new A(); } === z01.d === module z01; class A { void test () { import somethingcool; } } now run dmd -v -o- z01.d | grep import | grep something the output is empty. no mention of `somethingcool` anywhere. this bug makes rdmd fail if i'm importing some non-phobos modules in this manner: as rdmd doesn't see the dependency, it doesn't add it to build list and… oops. --
Feb 03 2015