-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
go 1.21.5 breaks golangci-lint, works with go 1.21.4 #64592
Labels
Comments
This seems to be a golanci-lint issue. |
Having the exact same issue after upgrading to 1.21.5. rolling back to 1.21.4 or earlier version fixes the problem. |
mmcloughlin
added a commit
to mmcloughlin/avo
that referenced
this issue
Jan 7, 2024
Upgrade `golangci-lint` to address a bug triggered since Go 1.21.5. See: golangci/golangci-lint#3718 See: golang/go#64592
mmcloughlin
added a commit
to mmcloughlin/addchain
that referenced
this issue
Jan 8, 2024
Upgrade `golangci-lint` to address a bug triggered since Go 1.21.5. See: golangci/golangci-lint#3718 See: golang/go#64592
mmcloughlin
added a commit
to mmcloughlin/md4
that referenced
this issue
Jan 8, 2024
Upgrade `golangci-lint` to address a bug triggered since Go 1.21.5. See: golangci/golangci-lint#3718 See: golang/go#64592
mmcloughlin
added a commit
to mmcloughlin/bib
that referenced
this issue
Jan 8, 2024
Upgrade `golangci-lint` to address a bug triggered since Go 1.21.5. See: golangci/golangci-lint#3718 See: golang/go#64592
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Go version
go version go1.21.5 linux/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
Repro steps:
~/Downloads/golangci-lint-1.52.2-linux-amd64/golangci-lint run .
What did you expect to see?
golangci-lint to pass
What did you see instead?
golangci-lint fails with this error:
Looks like this was broken by 285ef16, which added the new
max
syntaxRolling back to go 1.21.4 fixes the problem.
The text was updated successfully, but these errors were encountered: