www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13645] New: Incorrect ddoc generation for deprecated module

https://issues.dlang.org/show_bug.cgi?id=13645

          Issue ID: 13645
           Summary: Incorrect ddoc generation for deprecated module
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: ddoc
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: k.hara.pg gmail.com

Deprecated module does not emit module ddoc comment correctly.

------
/**
Documentation comment on module
*/
deprecated("msg")
module test;
------

Generates:
------
<html><head>
        <META http-equiv="content-type" content="text/html; charset=utf-8">
        <title>test</title>
        </head><body>
        <h1>test</h1>
        <!-- Generated by Ddoc from test.d -->
<br><br>

        <hr><small>Page generated by <a
href="http://dlang.org/ddoc.html">Ddoc</a>. </small>
        </body></html>
------

--
Oct 22 2014