D-Scanner icon indicating copy to clipboard operation
D-Scanner copied to clipboard

False positive for private variables with labels in properly documented function

Open wilzbach opened this issue 7 years ago • 0 comments

From std.zlib:

class Compress
{
    import std.conv : to;

  private:
    z_stream zs;
    int level = Z_DEFAULT_COMPRESSION;
    int inited;
    immutable bool gzip;

    void error(int err)
    {
        if (inited)
        {   deflateEnd(&zs);
            inited = 0;
        }
        throw new ZlibException(err);
    }
> std/zlib.d(347:10)[warn]: Parameter err isn't documented in the `Params` section.

wilzbach avatar Jun 28 '17 00:06 wilzbach