Skip to content

Conversation

@mjgarton
Copy link
Contributor

This line panics for me, so without really understanding the intent of the code, change it to what it looks like it obviously should be doing.

This fixes the panic for me at least. Apologies if this is the wrong fix.

This line panics for me, so without really understanding the intent of
the code, change it to what it looks like it obviously should be doing.

This fixes the panic for me at least.  Apologies if this is the wrong
fix.
@mvdan
Copy link
Owner

mvdan commented Oct 27, 2025

Oof, thanks for spotting the error and sending a fix. I'll merge, and add a test shortly after.

@mvdan mvdan merged commit 0e8899c into mvdan:master Oct 27, 2025
mjgarton added a commit to mjgarton/golangci-lint that referenced this pull request Oct 27, 2025
Upgrade unparam dependency to fix a crasher bug

See mvdan/unparam#89
@mjgarton
Copy link
Contributor Author

mjgarton commented Oct 27, 2025

Thanks for the quick response Daniel.

(It seems the golangci-lint people really don't like people upgrading dependencies for them. I imagine they are tired of people "contributing" dependency upgrades simply to gain contributor recognition. Never mind, this fix will filter though eventually.)

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.

2 participants