www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14547] New: Ddoc should prefer new Variable Template syntax

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: nobody puremagic.com
          Reporter: k.hara.pg gmail.com

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>
--------

--
May 05 2015