www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15349] New: DDoc: comments on function templates are skipped

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

          Issue ID: 15349
           Summary: DDoc: comments on function templates are skipped for
                    templates without doc comment
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: lio+bugzilla lunesu.com

template case3(fun...)
{
    /++ Blah
    Params:
        r = an value
    +/
    void case3(R)(R r){}
}

No doc is emitted for case3. Adding a DDoc comment on the template will cause
the nested doc from being emitted.

--
Nov 16 2015