[Issue 2581] New: DDoc doesn't work for functions with auto return type.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 11 12:59:31 PST 2009


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

           Summary: DDoc doesn't work for functions with auto return type.
           Product: D
           Version: 2.023
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: ddoc
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: dsimcha at yahoo.com


Source:

/** I'm documented.*/
void foo() {}

/** Please document me.*/
auto bar(T)(T u) {
    return u;
}


DDoc output:
void foo();
    I'm documented.


-- 



More information about the Digitalmars-d-bugs mailing list