typecheck: false positive "unused variable" and "unused import" in fairly standard code #2014
Closed
3 of 4 tasks
Labels
bug
Something isn't working
Description of the problem
Currently there are a couple of false-positive typecheck errors when running golang-ci on the runc codebase. I haven't tried to reduce these to a minimum test case, so these are snippets from the source tree.
The following code from runc trips up
typecheck
.And something similar happens with a
syscall
import:Version of golangci-lint
Config file
Go environment
Verbose output of running
Code example or link to a public repository
I've listed the code above, and the repo is https://github.com/opencontainers/runc.
The text was updated successfully, but these errors were encountered: