[Issue 2516] New: DDoc omits static on templates

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 16 05:07:57 PST 2008


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 at digitalmars.com
        ReportedBy: johnch_atms at 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();


-- 



More information about the Digitalmars-d-bugs mailing list