https://issues.dlang.org/show_bug.cgi?id=14547
Issue ID: 14547
Summary: Ddoc should prefer new Variable Template syntax
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Keywords: ddoc
Severity: enhancement
Priority: P1
Component: DMD
Assignee: [email protected]
Reporter: [email protected]
test.d:
--------
/// ddoc
enum isSomething(T) = true;
--------
Command line:
dmd -o- -D teest.d
Current output:
--------
<dt><big><a name="isSomething"></a>template <u>isSomething</u>(T)</big></dt>
<dd>ddoc<br><br>
</dd>
--------
Expected output:
--------
<dt><big><a name="isSomething"></a>enum <u>isSomething</u>(T);
</big></dt>
<dd>ddoc<br><br>
</dd>
--------
--