Bug 647 – Ddoc: documenting anonymous enum prevents documentation of values from being emitted.
Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2006-12-04T03:21:00Z
Last change time
2014-02-15T13:19:44Z
Assigned to
bugzilla
Creator
tomas
Comments
Comment #0 by tomas — 2006-12-04T03:21:45Z
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
Comment #1 by tomas — 2006-12-04T03:22:43Z
s#//#///#
Comment #2 by smjg — 2006-12-11T20:13:48Z
(In reply to comment #1)
> s#//#///#
Pardon?
Comment #3 by wbaxter — 2006-12-11T21:22:32Z
(In reply to comment #2)
> (In reply to comment #1)
> > s#//#///#
>
> Pardon?
>
He's speaking perl. He means replace // with /// in the example code.