[Issue 9713] New: Ddoc: Empty description suppress automatic example generation

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 14 01:11:09 PDT 2013


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

           Summary: Ddoc: Empty description suppress automatic example
                    generation
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ddoc
          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-14 01:11:08 PDT ---
This code doesn't make example section from unittest code.

///
void fooNoDescription() {}
///
unittest { fooNoDescription(); }


Command:
$ dmd -D test


Output:
test

void fooNoDescription();
                  <--- no automatically generated example exists

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