D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 5196 - ddoc does not show modifiers on template functions such as pure or nothrow
Summary: ddoc does not show modifiers on template functions such as pure or nothrow
Status: RESOLVED DUPLICATE of issue 3445
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: Other Linux
: P2 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-09 12:46 UTC by Jonathan M Davis
Modified: 2015-06-09 05:15 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Jonathan M Davis 2010-11-09 12:46:54 UTC
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 Don 2010-11-09 13:42:08 UTC

*** This issue has been marked as a duplicate of issue 3445 ***