[Issue 14413] Spurious newline in ddoc JSON output for multiple successive line doc comments

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Oct 8 12:07:00 PDT 2015


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

Martin Nowak <code at dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code at dawg.eu

--- Comment #8 from Martin Nowak <code at dawg.eu> ---
Well http://dlang.org/ddoc clearly states

/// This is a one line documentation comment.

/** So is this. */

and

Multiple documentation comments applying to the same declaration are
concatenated.

So whatever method is used to concat multiple comments (and adding a '\n'
between them seems sensible) should be used consistently.

--


More information about the Digitalmars-d-bugs mailing list