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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Dec 23 02:29:45 PST 2013


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


Dmitry Olshansky <dmitry.olsh at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmitry.olsh at gmail.com


--- Comment #9 from Dmitry Olshansky <dmitry.olsh at gmail.com> 2013-12-23 02:29:42 PST ---
(In reply to comment #0)
> 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)

Problem is still here, with 2.065alpha.

The output now looks like:
a (a.d) : private : object
(/home/dmitry/dmd2/linux/bin64/../../src/druntime/import/object.di)
b (b.d) : private : object
(/home/dmitry/dmd2/linux/bin64/../../src/druntime/import/object.di)
a (a.d) : private : b (b.d)

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


More information about the Digitalmars-d-bugs mailing list