www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14594] New: DDoc for template functions and structs has

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 puremagic.com
          Reporter: andrei 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.

--
May 16 2015