digitalmars.D.learn - documenting compile-time constants
- Vlad Levenfeld (3/3) Jul 06 2015 How do I ddoc an enum constant? Putting ddoc comments above
- Rikki Cattermole (19/22) Jul 06 2015 If:
- Vlad Levenfeld (3/29) Jul 06 2015 Ok, done.
How do I ddoc an enum constant? Putting ddoc comments above functions and structs woorks fine but ddocing an enum constant doesn't generate any documentation.
Jul 06 2015
On 7/07/2015 1:05 p.m., Vlad Levenfeld wrote:How do I ddoc an enum constant? Putting ddoc comments above functions and structs woorks fine but ddocing an enum constant doesn't generate any documentation.If: /// enum MyValue = 8.2f; does not generate documentation upon its creation, please file a bug. If: /// enum MyEnum { /// MYValue = 8.2f } does not generate documentation upon its creation, please file a bug. If: /// enum MyEnum { MYValue = 8.2f } does not generate documentation upon its creation, please see the previous answer.
Jul 06 2015
On Tuesday, 7 July 2015 at 03:30:40 UTC, Rikki Cattermole wrote:On 7/07/2015 1:05 p.m., Vlad Levenfeld wrote:Ok, done. https://issues.dlang.org/show_bug.cgi?id=14778How do I ddoc an enum constant? Putting ddoc comments above functions and structs woorks fine but ddocing an enum constant doesn't generate any documentation.If: /// enum MyValue = 8.2f; does not generate documentation upon its creation, please file a bug. If: /// enum MyEnum { /// MYValue = 8.2f } does not generate documentation upon its creation, please file a bug. If: /// enum MyEnum { MYValue = 8.2f } does not generate documentation upon its creation, please see the previous answer.
Jul 06 2015