[Issue 5335] DDoc ignores documentation comment that begins on the	same line as the open curly brace
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sun Mar 11 10:08:01 PDT 2012
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=5335
Stewart Gordon <smjg at iname.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ddoc
                 CC|                            |smjg at iname.com
            Summary|DDoc ignores member when it |DDoc ignores documentation
                   |is on the same line as open |comment that begins on the
                   |curly brace                 |same line as the open curly
                   |                            |brace
--- Comment #1 from Stewart Gordon <smjg at iname.com> 2012-03-11 10:08:08 PDT ---
It's actually the documentation comment it ignores, not the member.  So if a
member's documentation is split across multiple single-line comments, it will
use all except the one that is on the same line as the {.  Try this at home:
///
class C1
{/// abc
/// def
int a; }
///
class C2
{/** abc
def
*/
int a; }
generated documentation:
class C1;
    int a;
        def
class C2;
-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
    
    
More information about the Digitalmars-d-bugs
mailing list