www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 7547] New: -deps output lists object as a top level module

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7547

           Summary: -deps output lists object as a top level module
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: siegelords_abode yahoo.com


--- Comment #0 from siegelords_abode yahoo.com 2012-02-19 12:03:51 PST ---
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.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 19 2012
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7547



--- Comment #1 from github-bugzilla puremagic.com 2012-02-27 19:07:10 PST ---
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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 27 2012
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7547



--- Comment #2 from github-bugzilla puremagic.com 2012-02-27 19:07:29 PST ---
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

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 27 2012
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=7547


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |FIXED


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