zig
zig copied to clipboard
Autodoc: public functions and fields inside test blocks leak into docs
Zig Version
0.12.0
Steps to Reproduce and Observed Behavior
If you look at std.meta there are a lot of fn a() and fn foo() that probably shouldn't be there.
Expected Behavior
There should be only relevant functions.
Problem is in public functions (and fields) leaking from test blocks but it is impossible to access them. So solution can be to ignore test block when searching for functions to show in docs.