www.digitalmars.com         C & C++   DMDScript  

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

reply d-bugmail puremagic.com writes:
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
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2516


Nick Treleaven <ntrel-public yahoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ntrel-public yahoo.co.uk


--- Comment #1 from Nick Treleaven <ntrel-public yahoo.co.uk> 2012-10-24
05:31:35 PDT ---
Looks like a duplicate of bug #194 (assuming static counts as an attribute).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 24 2012
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2516


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |andrej.mitrovich gmail.com
         Resolution|                            |DUPLICATE


--- Comment #2 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2012-11-02
02:11:33 PDT ---
*** This issue has been marked as a duplicate of issue 194 ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Nov 02 2012