Bug 7547 – -deps output lists object as a top level module
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-02-19T12:03:00Z
Last change time
2015-06-09T05:11:43Z
Assigned to
nobody
Creator
siegelords_abode
Comments
Comment #0 by siegelords_abode — 2012-02-19T12:03:51Z
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 by github-bugzilla — 2012-02-27T19:07:10Z