https://issues.dlang.org/show_bug.cgi?id=13454

--- Comment #4 from Sobirari Muhomori <[email protected]> ---
In practice template unittests are often independent of their template instance
and simply result in code duplication.

(In reply to Dicebot from comment #3)
> It is illegal to build D projects with non-consistent version flags exactly
> for this reason. version(unittest) is no different.

Phobos is compiled without unittests, that will prohibit user code from being
compiled with unittests.

--

Reply via email to