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
CL 40112 added the ability for go vet to pass through the flags that go tool vet takes. -shift was omitted in the whitelist, which seems like an oversight.
The fix is trivial, CL forthcoming.
What version of Go are you using (go version)?
go version devel +b4e207d Wed Oct 25 20:20:44 2017 +0000 linux/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
$ go tool vet -shift shift.go
shift.go:5: u (8 bits) too small for shift of 9
$ go vet -shift .
vet: flag "-shift" not defined
Run "go help vet" for more information
The text was updated successfully, but these errors were encountered:
CL 40112 added the ability for
go vet
to pass through the flags thatgo tool vet
takes. -shift was omitted in the whitelist, which seems like an oversight.The fix is trivial, CL forthcoming.
What version of Go are you using (
go version
)?go version devel +b4e207d Wed Oct 25 20:20:44 2017 +0000 linux/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?linux/amd64
What did you do?
https://play.golang.org/p/j_a0OxUDwc
The text was updated successfully, but these errors were encountered: