[Issue 13839] New: Use new style for alias declarations in di files

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Dec 8 23:45:46 PST 2014


https://issues.dlang.org/show_bug.cgi?id=13839

          Issue ID: 13839
           Summary: Use new style for alias declarations in di files
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: DMD
          Assignee: nobody at puremagic.com
          Reporter: k.hara.pg at gmail.com

Currently following code:

---- test.d
alias T = int;

Making di file with:
dmd -o- -H test.d

Generates:
---- test.di
// D import file generated from 'test.d'
alias int T;


I think using the new style `alias T = int;` for the di file output would be
better.

--


More information about the Digitalmars-d-bugs mailing list