www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Bug 53] New: DDoc: Struct templates documented without template parameters

http://d.puremagic.com/bugzilla/show_bug.cgi?id=53

           Summary: DDoc: Struct templates documented without template
                    parameters
           Product: D
           Version: 0.149
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: ddoc
          Severity: normal
          Priority: P3
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: oskar.linde gmail.com


When documenting a struct template defined using the short-hand notation, the
DDoc output doesn't contain the template parameters:

/// Doc
struct MyStruct(X) {
  X x;
}

Gets documented as:

struct MyStruct;
Doc


-- 
Mar 16 2006