8000 staticcheck: flag `defer foo()` where foo returns a closure · Issue #466 · dominikh/go-tools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
staticcheck: flag defer foo() where foo returns a closure #466
Open
@dominikh

Description

@dominikh

Inspired by golang/lint#451

Obviously concerns about false positives exist. This check will need a thorough test run on the Go corpus.

Metadata

Metadata

Assignees

No one assigned

    Labels

    aggressiveA set of checks that is more prone to false positives but is helpful during code reviewnew-check

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0