[Issue 7016] New: local import does not create -deps dependency

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 25 21:20:32 PST 2011


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

           Summary: local import does not create -deps dependency
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: thecybershadow at gmail.com


--- Comment #0 from Vladimir Panteleev <thecybershadow at gmail.com> 2011-11-25 21:19:34 PST ---
a.d : import b; void main() { f(); }
b.d : int f() { import c; return i; }
c.d : int i = 42;

The command
$ dmd -deps=a.deps -o- a.d
creates:
a (a.d) : public : object
(C:\\Soft\\dmd2d\\windows\\bin\\..\\..\\import\\druntime\\object.di)
b (b.d) : public : object
(C:\\Soft\\dmd2d\\windows\\bin\\..\\..\\import\\druntime\\object.di)
a (a.d) : public : b (b.d)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list