Bug 9714 – Ddoc: Combination of -D and -unittest reveals hidden unittest function

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-03-14T01:15:00Z
Last change time
2013-03-19T20:32:41Z
Keywords
ddoc, pull
Assigned to
nobody
Creator
k.hara.pg

Comments

Comment #0 by k.hara.pg — 2013-03-14T01:15:11Z
/// test void fooNoDescription() {} /// unittest { fooNoDescription(); } Command: $ dmd -unittest -D test Output: test void fooNoDescription(); desc Example: fooNoDescription(); void __unittestL4_1(); <---- bug
Comment #1 by k.hara.pg — 2013-03-14T03:46:33Z
Comment #2 by github-bugzilla — 2013-03-19T20:32:15Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/11b2f76857c8a2d8fa14c0b6b3c69d60b4e5180c fix Issue 9714 - Ddoc: Combination of -D and -unittest reveals hidden unittest function Even if -unittest is specified, hidden function should not be appeared in ddoc output https://github.com/D-Programming-Language/dmd/commit/d736fbf10ff41f2e96303fd1efa7eaa7c696eafb Merge pull request #1746 from 9rnsr/fix_ddoc Issue 9713 & 9714 - Ddoc bug fixes