Bug 3445 – DDoc usually omits attributes (including pure nothrow)
Status
RESOLVED
Resolution
DUPLICATE
Severity
critical
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2009-10-27T02:06:00Z
Last change time
2015-06-09T01:27:04Z
Keywords
ddoc
Assigned to
nobody
Creator
clugdbug
Comments
Comment #0 by clugdbug — 2009-10-27T02:06:02Z
Test cases. In all cases except the last one, 'pure' is not present in the generated docs. Interestingly, in bar4() the 'pure' attribute is moved to the front in the docs.
/** aa */
class Foo(T) {
/** xx */
pure void bar() {}
}
pure nothrow {
/** yy */
int bar2(int x) { return x; }
}
/** zz */
pure int bar3() { return 0; }
/** qq */
int bar4() pure { return bar3();} // works
Comment #1 by schveiguy — 2010-05-28T15:17:13Z
*** Issue 3887 has been marked as a duplicate of this issue. ***
Comment #2 by schveiguy — 2010-05-28T15:17:43Z
From 3887, @property also doesn't show up.
Comment #3 by clugdbug — 2010-11-09T13:42:09Z
*** Issue 5196 has been marked as a duplicate of this issue. ***