Skip to content

fix(inefficient-map-lookup): rule panics on ranges without key#1604

Merged
alexandear merged 1 commit intomasterfrom
fix-1601
Dec 5, 2025
Merged

fix(inefficient-map-lookup): rule panics on ranges without key#1604
alexandear merged 1 commit intomasterfrom
fix-1601

Conversation

@chavacava
Copy link
Copy Markdown
Collaborator

Fixes #1601

@alexandear alexandear merged commit 435ddcf into master Dec 5, 2025
10 checks passed
@ccoVeille
Copy link
Copy Markdown
Contributor

This fix is important. But it wasn't released and 1.13.0 was included in golangci-lint v2.8.0

So now, people who have enabled all revive rules may/will experience this panic

@chavacava @alexandear cc @ldez

@peter-evans
Copy link
Copy Markdown

We're getting this panic with golangci-lint. Would be great to get a new release if that's what is necessary.

@denisvmedia denisvmedia deleted the fix-1601 branch January 28, 2026 12:05
@alexandear alexandear mentioned this pull request Feb 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nil ast.Expr panic with 1.13.0 in golangci-lint 2.7.1

4 participants