Bug 5196 – ddoc does not show modifiers on template functions such as pure or nothrow

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Linux
Creation time
2010-11-09T12:46:00Z
Last change time
2015-06-09T05:15:06Z
Assigned to
nobody
Creator
issues.dlang

Comments

Comment #0 by issues.dlang — 2010-11-09T12:46:54Z
A function like this: long convert(string from, string to)(long value) pure nothrow if((from == "years" || from == "months") && (to == "years" || to == "months")) { //... } ends up with a ddoc header like this: long convert(string from, string to)(long value); It's missing the pure and nothrow.
Comment #1 by clugdbug — 2010-11-09T13:42:08Z
*** This issue has been marked as a duplicate of issue 3445 ***