[Issue 14594] New: DDoc for template functions and structs has disappeared

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat May 16 17:06:13 PDT 2015


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

          Issue ID: 14594
           Summary: DDoc for template functions and structs has
                    disappeared
           Product: D
           Version: D2
          Hardware: x86
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: DMD
          Assignee: nobody at puremagic.com
          Reporter: andrei at erdani.com

Simplest test:

/**
test
*/
void fun()()
{

}

///
unittest
{
    fun();
}

This does not generate in the documentation the unittest code. Removing one set
of parens from fun makes the code appear in the documentation.

--


More information about the Digitalmars-d-bugs mailing list