www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13069] New: Cannot document alias this

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

          Issue ID: 13069
           Summary: Cannot document alias this
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: ntrel-public yahoo.co.uk

Ddoc only generates documentation for F in this code:

///
struct F
{
    int i;
    /// desc
    alias i this;
}

It should be possible to document 'alias this' in the same way as normal
'alias' declarations.

--
Jul 07 2014