www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12441] New: DDoc should ignore interleaved non-doc comments

reply d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12441

           Summary: DDoc should ignore interleaved non-doc comments
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody puremagic.com
        ReportedBy: jakobovrum gmail.com



---
/// Documentation comment
// Non-documentation comment
void foo();

The non-documentation comment causes the documentation comment to be ignored,
and `foo` ends up undocumented. This seems unnecessarily error-prone.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 22 2014
next sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12441


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich gmail.com



03:14:33 PDT ---

 /// Documentation comment
 // Non-documentation comment
 void foo();
I can't reproduce this, the test-case must be something else. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 23 2014
prev sibling parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12441




03:14:51 PDT ---

 I can't reproduce this, the test-case must be something else.
Sorry for double comment. -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Mar 23 2014