[Issue 4478] New: JSON output omits import statements

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jul 17 09:41:31 PDT 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 at puremagic.com
        ReportedBy: dhasenan at gmail.com


--- Comment #0 from Chris Wright <dhasenan at 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: -------


More information about the Digitalmars-d-bugs mailing list