[Issue 9757] New: Ddoc: documented unittest after ditto should work

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 19 04:42:24 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9757

           Summary: Ddoc: documented unittest after ditto should work
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: k.hara.pg at gmail.com


--- Comment #0 from Kenji Hara <k.hara.pg at gmail.com> 2013-03-19 04:42:24 PDT ---
This code:

/// doc1
void foo() {}
/// ditto
void bar() {}
/// ditto
void baz() {}

///
unittest { foo(); bar(); }
///
unittest { bar(); foo(); }


Should output:

void foo(); 
void bar(); 
void baz();
    doc1

    Examples:
    foo(); bar(); 

    Examples:
    bar(); foo();

-- 
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