https://issues.dlang.org/show_bug.cgi?id=11133
Iain Buclaw changed:
What|Removed |Added
Priority|P2 |P3
--
https://issues.dlang.org/show_bug.cgi?id=11133
--- Comment #4 from Jonathan M Davis ---
Related: https://issues.dlang.org/show_bug.cgi?id=18077
--
https://issues.dlang.org/show_bug.cgi?id=11133
--- Comment #3 from Jonathan M Davis ---
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
{
https://issues.dlang.org/show_bug.cgi?id=11133
Jonathan M Davis changed:
What|Removed |Added
CC||issues.dl...@jmdavisprog.co
http://d.puremagic.com/issues/show_bug.cgi?id=11133
--- Comment #1 from Martin Nowak 2013-09-27 20:00:32 PDT ---
Ah I forgot to mention. The following case works. It seems like it's the else
branch that break the unittest docs.
version (D_Ddoc)
{
///
struct Library {}
}
///
version (all)