[Issue 11133] ddoc: documented unittest outside of version scope
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Dec 14 01:29:01 UTC 2017
https://issues.dlang.org/show_bug.cgi?id=11133
--- Comment #3 from Jonathan M Davis <issues.dlang at jmdavisProg.com> ---
Here's an example that has the problem with static if:
///
struct S(R)
{
/// Some docs
static if(is(R == string))
alias S = R;
else
alias S = int;
///
unittest
{
S s;
}
}
--
More information about the Digitalmars-d-bugs
mailing list