www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2516] New: DDoc omits static on templates

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

           Summary: DDoc omits static on templates
           Product: D
           Version: 2.022
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: ddoc
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: johnch_atms hotmail.com


DDoc doesn't document methods as static inside templated types.

Example:

class Foo(T) {

  static void bar() {}

}

Produces:

class Foo(T);
  void bar();

instead of

class Foo(T);
  static void bar();


-- 
Dec 16 2008