You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ go version
go version go1.22.2 darwin/arm64
$ go vet -vettool=.bin/checklocks ./example/...
# example.com/example
example/x.go:22:2: may require checklocks annotation for mu, used with lock held 100% of the time
The text was updated successfully, but these errors were encountered:
Description
It appears
checklocks
(sha:69e0c7643d821f03ed797ea3911f6ab458e2a2d6
) fails to recognize annotations on generic types. For the following code:checklocks
returns the following:The text was updated successfully, but these errors were encountered: