http://d.puremagic.com/issues/show_bug.cgi?id=9695
Summary: Ddoc should emit enum member initializers
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: ddoc
Severity: enhancement
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Andrej Mitrovic <[email protected]> 2013-03-11
21:19:11 PDT ---
Example:
module test;
/** */
enum E : char
{
/** */
one = '1',
/** */
two = '2',
}
$ dmd -D -o- test.d
The initializers are not present, but for documentation purposes they really
should be.
The question is whether to do it for all initializers, or only for
user-provided initializers (if that's even possible to do at the ddoc
generation stage).
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------