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
Prepared a CL, which expands copylock check to function calls and return values - see https://go-review.googlesource.com/20832 . This catches passing lock into interface{} in these cases.
$ go vet x.go x.go:14: assignment copies lock value to s: main.T exit status 1
vet should also complain about the assignment
e = t
, since it also copies t's value.The text was updated successfully, but these errors were encountered: