www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 9757] New: Ddoc: documented unittest after ditto should work

reply d-bugmail puremagic.com writes:
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 puremagic.com
        ReportedBy: k.hara.pg gmail.com


--- Comment #0 from Kenji Hara <k.hara.pg 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: -------
Mar 19 2013
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9757


Kenji Hara <k.hara.pg gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ddoc, pull


--- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2013-03-19 04:56:55 PDT ---
https://github.com/D-Programming-Language/dmd/pull/1746

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 19 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9757



--- Comment #2 from github-bugzilla puremagic.com 2013-03-19 20:32:09 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/a85ad5474855e9aa618074cc970ff4fc755a31c7
fix Issue 9757 - Ddoc: documented unittest after ditto should work

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 19 2013
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9757


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |andrej.mitrovich gmail.com
         Resolution|                            |FIXED


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Mar 19 2013