-
Notifications
You must be signed in to change notification settings - Fork 764
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
staticcheck installation fails with go1.16 or older #2162
Comments
Options I am thinking:
|
Same issue when installing staticcheck in vscode 1.66.1 with go1.16.15, or just installing from command line: go install -v honnef.co/go/tools/cmd/staticcheck@latest
go/pkg/mod/honnef.co/go/[email protected]/go/ir/builder.go:36:2: //go:build comment without // +build comment |
I created dominikh/go-tools#1251, seems to be the same like this error. |
Change https://go.dev/cl/400363 mentions this issue: |
Change https://go.dev/cl/400362 mentions this issue: |
I hoped to encourage users to utilize |
Updates #2162 Change-Id: I5adc4ca6d7b0f8a8e3df7e1f403917fc94ef7b23 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/400362 Run-TryBot: Hyang-Ah Hana Kim <[email protected]> Reviewed-by: Robert Findley <[email protected]> TryBot-Result: kokoro <[email protected]> Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
Staticcheck supports only the last two versions of go.
This broke our builders (go1.15, go1.16), and will confuse users who use go1.16 or older.
The text was updated successfully, but these errors were encountered: