D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 5194 - ddoc does not show modifiers on constructors such as pure or nothrow
Summary: ddoc does not show modifiers on constructors such as pure or nothrow
Status: RESOLVED FIXED
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:44 UTC by Jonathan M Davis
Modified: 2015-06-09 05:14 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:44:39 UTC
Well, the title says it all, really. A constructor such as this:

this(long ticks) pure nothrow
{
    this.length = ticks;
}

ends up looking like this

this(long ticks);


in the generated ddoc html file. It should say that it's pure and nothrow.
Comment 1 Walter Bright 2010-11-16 19:45:00 UTC
http://www.dsource.org/projects/dmd/changeset/756