cmd/vet: vet's heuristic for lock detection has unreasonable false positives #26165
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?go version go1.10.3 linux/amd64
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?What did you do?
Run go vet on the code at https://play.golang.org/p/gKSNBMyRunJ
What did you expect to see?
No output since
*fl
does not implementsync.Locker
.What did you see instead?
The text was updated successfully, but these errors were encountered: