govet: printf
unstable behavior with imported types
#4423
Labels
printf
unstable behavior with imported types
#4423
Welcome
Description of the problem
Hi, we've encountered some strange behavior with the
govet
printf
linter.If we edit the previously reported file without fixing the issue, it stops reporting the issue. However, if we clean the cache, it gets back to normal, but I'm not sure we're supposed to clean the cache before every
run
.There is one interesting detail that I think may be a clue though.
It stops being unstable if we change the code so that it doesn't import
logger
, but initializeslog
in place:Version of golangci-lint
Configuration
Go environment
Verbose output of running
A minimal reproducible example or link to a public repository
https://github.com/gabolaev/gl-issue-reproduction
Validation
The text was updated successfully, but these errors were encountered: