[Issue 15349] New: DDoc: comments on function templates are skipped for templates without doc comment

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Nov 16 21:46:10 PST 2015


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 at puremagic.com
          Reporter: lio+bugzilla at 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.

--


More information about the Digitalmars-d-bugs mailing list