D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 3887 - ddoc does not replicate @property to documentation
Summary: ddoc does not replicate @property to documentation
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-03-06 19:51 UTC by Steven Schveighoffer
Modified: 2015-06-09 01:27 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Steven Schveighoffer 2010-03-06 19:51:27 UTC
when compiling a function with ddoc that contains a @property notation, the notation is not copied to the html file.

Sample file:

/**
 * struct s
 */
struct s
{
    /**
     * p does this
     */
    @property void p() {}
}

results in documentation that just identifies s.p as:

void p()

Note, I did not test all other attributes, just @property, most likely there could be issues with the other attributes.
Comment 1 Steven Schveighoffer 2010-05-28 15:17:13 UTC
Yep, I guess other properties also don't show up.

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