www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13839] New: Use new style for alias declarations in di files

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 puremagic.com
          Reporter: k.hara.pg 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.

--
Dec 08 2014