Bug 8160 – Ddoc doesn't emit docs for manifest constants

Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-05-29T15:53:00Z
Last change time
2012-05-30T10:50:58Z
Keywords
ddoc
Assigned to
nobody
Creator
alex

Comments

Comment #0 by alex — 2012-05-29T15:53:53Z
It appears that Ddoc does not emit any documentation for manifest constants, even when they are marked public. I assume that this is a bug, since manifest constants are part of the public interface of a library.
Comment #1 by mike — 2012-05-30T10:47:50Z
There doesn't seem to be any problem with dmd 2.059 (Linux 64bits). This code: /// Defines the version of ImageMagick where these headers are based on. enum MagickLibVersion = 0x677; ///ditto enum MagickLibVersionText = "6.7.7"; Results in the folowing documentation: file:///home/mike/Projects/DMagick/docs/c/magickVersion.html
Comment #2 by alex — 2012-05-30T10:50:58Z
Indeed... turns out my code was completely wrong. I had accidentally used version (Ddoc) instead of version (D_Ddoc). Closing as invalid.