[Issue 9474] Ddoc'd unittests should work correctly with ditto

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 7 16:01:11 PST 2013


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



--- Comment #3 from hsteoh at quickfur.ath.cx 2013-02-07 16:01:10 PST ---
OK, found the real cause of failure:
--------------------
/**
 * Documentation
 */
void func() {}

version(none) unittest { ... }

/// Example
unittest { ... }
---------------------

Removing the version line makes the problem go away. Note that ditto works when
placed after the version line, so IMO the unittest ddocs should, too.

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