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


--- Comment #0 from Jakob Ovrum <jakobovrum gmail.com> 2014-03-22 17:38:23 PDT
---
/// 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


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2014-03-23
03:14:33 PDT ---
I can't seem to recreate this from the test-case.(In reply to comment #0)
 /// 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



--- Comment #2 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2014-03-23
03:14:51 PDT ---
(In reply to comment #1)
 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