[Issue 18623] Documented unittest should not allow private symbol access

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Mar 10 09:40:04 UTC 2022


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

--- Comment #9 from Nick Treleaven <nick at geany.org> ---
>From the pull:

> If someone wants to document private symbols, why prevent it ? 
> In the example, the documented unittest is attached to a private symbol, isn't it ?

If you want to support that unusual case, require private unittest to enable
using private symbols in the documented test. (The documented unittest could
even be inferred as private if the symbol it's documenting is private).

I would like to reopen this.

--


More information about the Digitalmars-d-bugs mailing list