Thread overview
[Issue 4478] New: JSON output omits import statements
Jul 17, 2010
Chris Wright
Mar 14, 2012
Matt Peterson
Jan 21, 2013
Walter Bright
July 17, 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4478

           Summary: JSON output omits import statements
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: dhasenan@gmail.com


--- Comment #0 from Chris Wright <dhasenan@gmail.com> 2010-07-17 09:41:29 PDT ---
Trying to think of a workaround for http://d.puremagic.com/issues/show_bug.cgi?id=4477 , I thought I'd duplicate DMD's lookup rules. That's daunting in itself, but I quickly found it impossible. JSON output omits import statements from modules.

An IDE could use the list of imports to detect when code is silently relying on another module's imported symbols due to bugzilla 313/314, or to find unnecessary import statements. And, of course, to work around bugzilla 4477. It's also a cheap way for an IDE to support incremental builds rather than using dmd -deps, making it essentially free to do incremental builds once you have syntax highlighting.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
March 14, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=4478


Matt Peterson <revcompgeek@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |revcompgeek@gmail.com


--- Comment #1 from Matt Peterson <revcompgeek@gmail.com> 2012-03-14 15:42:35 PDT ---
https://github.com/D-Programming-Language/dmd/pull/813

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 21, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=4478


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
            Version|D1 & D2                     |D2
         Resolution|                            |FIXED


--- Comment #2 from Walter Bright <bugzilla@digitalmars.com> 2013-01-21 00:03:19 PST ---
https://github.com/D-Programming-Language/dmd/pull/1527

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