You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If ddoc is generated for this code:
================
/// Something about foo.
auto foo() { return 42; }
/// Ditto
struct Foo
{
/// Something about bar.
auto bar() { return "str"; }
}
================
then the documentation for the function foo and the struct Foo is shown, correctly merged together. However, the documentation for Foo.bar does not show up. In contrast, if the struct is documented first, and ditto is used on the fnuction, then all of the struct's members show up correctly in the documentation. So, something about documenting a struct with ditto makes it so that none of its members show up in the documentation.
The text was updated successfully, but these errors were encountered:
Jonathan M Davis (@jmdavis) reported this on 2017-12-14T00:43:08Z
Transferred from https://issues.dlang.org/show_bug.cgi?id=18074
CC List
Description
The text was updated successfully, but these errors were encountered: