ddoc: enum members documentation not correctly generated
Carlos Santander
csantander619 at gmail.com
Sun May 14 13:59:21 PDT 2006
Apparently, how the source code is formatted also affect the content of the
generated documentation:
//-----------------------------------------------
/// my enum
enum E1
{
A, /// element a
B /// element b
}
/// my enum
enum E2
{
/// element a
A,
/// element b
B
}
/// my enum
enum E3
{
A /// element a
, B /// element b
}
/// my enum
enum E4
{
A /// element a
,
B /// element b
}
/// my enum
enum E5
{
/// element a
A
,
/// element b
B
}
//-----------------------------------------------
E1 is ok.
E2.B and E5.B get the same documentation as E2.A and E5.A, respectively.
E3.A and E4.A don't get any documentation.
--
Carlos Santander Bernal
More information about the Digitalmars-d-bugs
mailing list