http://d.puremagic.com/issues/show_bug.cgi?id=9473
Summary: DDoc'd unittests should not add Example block to
generated docs if there's already an Example block
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from [email protected] 2013-02-07 15:32:41 PST ---
/**
The magic function that can do anything.
Example:
---
void main(string[] args)
{
dotDotDotMagic();
}
---
*/
void dotDotDotMagic() { doAnything(); }
/// Ddoc'd unittest
unittest
{
int x=1;
dotDotDotMagic();
assert(x==2); // wow!
}
----------------------
Currently the output will contain two Example: sections, one following the
other. They should be merged.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------