[Issue 16614] [META] Each artifact in the standard library should have a meaningful example
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Dec 27 03:14:54 PST 2016
https://issues.dlang.org/show_bug.cgi?id=16614
--- Comment #3 from greenify <greeenify at gmail.com> ---
There's now a helper tool in dlang/tools:
https://github.com/dlang/tools/blob/master/styles/has_public_example.d
it run with e.g. dub --root=../tools/styles -c has_public_example -i std
Moreover, there's an open PR to Phobos to enable it with a blacklist:
https://github.com/dlang/phobos/pull/4998
It will introduce this as `has_public_example` Makefile target, thus from the
Phobos repo one can run the following to find functions without public
examples:
make -f posix.mak has_public_example
Help to reduce the blacklist is very welcome!
--
More information about the Digitalmars-d-bugs
mailing list