Comment #0 by michal.minich — 2010-12-09T07:42:55Z
DMD 2.050
Only in C5 is member 'a' documented
///
class C1
{///
int a; }
///
class C2 {///
int a; }
///
class C3 {/** */ int a; }
///
class C4
{ /** */ int a; }
///
class C5 {
///
int a; }
Comment #1 by smjg — 2012-03-11T10:08:08Z
It's actually the documentation comment it ignores, not the member. So if a member's documentation is split across multiple single-line comments, it will use all except the one that is on the same line as the {. Try this at home:
///
class C1
{/// abc
/// def
int a; }
///
class C2
{/** abc
def
*/
int a; }
generated documentation:
class C1;
int a;
def
class C2;
Comment #2 by robert.schadek — 2024-12-13T17:54:32Z