www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 9713] New: Ddoc: Empty description suppress automatic example generation

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


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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull


--- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2013-03-14 03:46:32 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 14 2013
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9713



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

https://github.com/D-Programming-Language/dmd/commit/da35281d447cfb6584fcdce516b2a5554a778a02
fix Issue 9713 - Ddoc: Empty description suppress automatic example generation

Even if proper description is empty, generated examples should be appeared

https://github.com/D-Programming-Language/dmd/commit/d736fbf10ff41f2e96303fd1efa7eaa7c696eafb
Merge pull request #1746 from 9rnsr/fix_ddoc

Issue 9713 & 9714 - Ddoc bug fixes

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


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
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=9713



--- Comment #3 from github-bugzilla puremagic.com 2013-03-19 22:26:30 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/0082b915ba1f33f6868c222fc6659cbefc6fc05d
fix test case for bug 9713

https://github.com/D-Programming-Language/dmd/commit/ab1890a33b257ac3fe0485b1d601c0bb418cd70b
Merge pull request #1769 from 9rnsr/fix_ddoc

fix test case for bug 9713

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