D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 7547 - -deps output lists object as a top level module
Summary: -deps output lists object as a top level module
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P2 regression
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-19 12:03 UTC by siegelords_abode
Modified: 2015-06-09 05:11 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description siegelords_abode 2012-02-19 12:03:51 UTC
Given a file with an empty main like so:
module main;

void main() {}

The output of this command:

dmd -o- -deps=out.deps test.d

Is, with 2.057:

main (test.d) : public : object (/usr/include/d/dmd/druntime/import/object.di)

and with 2.058:

object (/usr/include/d/dmd/druntime/import/object.di) : public : object (/usr/include/d/dmd/druntime/import/object.di)
main (test.d) : public : object (/usr/include/d/dmd/druntime/import/object.di)

I think it's a bug.
Comment 1 github-bugzilla 2012-02-27 19:07:10 UTC
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/576f18aaf12a2e3b63e464b8a3405e5f7af279d9
fix Issue 7547 - -deps output lists object as a top level module
Comment 2 github-bugzilla 2012-02-27 19:07:29 UTC
Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/59ed3f01606efd23638c7f94d0982ba9d9341a58
fix Issue 7547 - -deps output lists object as a top level module