[Issue 18623] Documented unittest should not allow private symbol access
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Mar 17 15:59:49 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18623
greenify <greeenify at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |greeenify at gmail.com
--- Comment #1 from greenify <greeenify at gmail.com> ---
I agree though the compiler currently doesn't know whether the test is ddoc-ed
when -D isn't passed. As it throws away all documentation text during parsing.
For Phobos we use a workaround which extracts all public tests and puts them in
separate files and then executes them:
https://github.com/dlang/tools/blob/master/tests_extractor.d
--
More information about the Digitalmars-d-bugs
mailing list