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. ***
Comment #4 by kennytm — 2011-06-05T06:13:06Z
The cases "bar2", "bar3", bug 3887 and bug 5196 are fixed in DMD pull #82. "Foo(T).bar" is still not fixed. https://github.com/D-Programming-Language/dmd/pull/82
Comment #5 by bugzilla — 2011-06-06T00:19:51Z
Comment #6 by andrej.mitrovich — 2012-11-02T02:11:51Z
Only case left is the template one, which is dup of Issue 194. *** This issue has been marked as a duplicate of issue 194 ***