Thread overview
[Issue 647] New: Ddoc: documenting anonymous enum prevents documentation of values from being emitted.
Dec 04, 2006
d-bugmail
Dec 04, 2006
d-bugmail
Dec 12, 2006
d-bugmail
Dec 12, 2006
d-bugmail
Feb 09, 2007
d-bugmail
December 04, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=647

           Summary: Ddoc: documenting anonymous enum prevents documentation
                    of values from being emitted.
           Product: D
           Version: 0.176
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: tomas@famolsen.dk


enum
{
// A enum value
A,
// B enum value
B
}

---------------------------

generates documentation for the values

// anonymous enum
enum
{
// A enum value
A,
// B enum value
B
}

generates nothing


-- 

December 04, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=647





------- Comment #1 from tomas@famolsen.dk  2006-12-04 03:22 -------
s#//#///#


-- 

December 12, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=647


smjg@iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg@iname.com




------- Comment #2 from smjg@iname.com  2006-12-11 20:13 -------
(In reply to comment #1)
> s#//#///#

Pardon?


-- 

December 12, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=647





------- Comment #3 from wbaxter@gmail.com  2006-12-11 21:22 -------
(In reply to comment #2)
> (In reply to comment #1)
> > s#//#///#
> 
> Pardon?
> 

He's speaking perl.  He means replace // with /// in the example code.


-- 

February 09, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=647


arkangath@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--