[Issue 9789] New: Ddoc for aliases should use new "alias x=y" syntax

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 22 18:40:56 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9789

           Summary: Ddoc for aliases should use new "alias x=y" syntax
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: hsteoh at quickfur.ath.cx


--- Comment #0 from hsteoh at quickfur.ath.cx 2013-03-22 18:40:55 PDT ---
Code:
===================
import std.stdio;
struct S {}

///
alias X = S;

void main() { }
===================

Compile with dmd -D, the docs look something like this:

===================
                                      test

   alias S X;
           blah blah blah

   --------------------------------------------------------------------------

   Page generated by [1]Ddoc.
===================

The old (confusing) alias syntax is used instead of the new, better "alias X=S"
syntax.

-- 
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