Skip to content
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

SA1032: add check for errors.Is() and .As() argument order #1545

Closed
wants to merge 1 commit into from

Conversation

arp242
Copy link
Contributor

@arp242 arp242 commented May 25, 2024

Fixes #1530

@arp242
Copy link
Contributor Author

arp242 commented May 25, 2024

I ran this against about 692 modules; no errors.

Full list: https://gist.github.com/arp242/bc5baf6c77db07e4066acf73fa36e70c

This pull request was closed.
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.

New check: Warn when errors.Is() arguments swapped
1 participant