-
Notifications
You must be signed in to change notification settings - Fork 33
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
SSA and generics (go1.18) #38
Comments
13 tasks
4 tasks
SSA has been updated and it seems to work inside golangci-lint. |
in fact the problem is still here |
I did some more extensive testing and the issue seems to be resolved. |
stevenh
added a commit
to stevenh/bodyclose
that referenced
this issue
Nov 4, 2022
Update dependencies to address panic on code with genetics Fixes: timakin#38
stevenh
added a commit
to stevenh/bodyclose
that referenced
this issue
Nov 4, 2022
Update dependencies to address panic on code with genetics Fixes: timakin#38
Merged
PR #41 fixes this, tested with the case in golangci/golangci-lint#3086
Yes that's no output all good :) |
4 tasks
stevenh
added a commit
to stevenh/bodyclose
that referenced
this issue
Nov 6, 2022
Update dependencies to address panic on code with generics Fixes: timakin#38
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, SSA is not working with generics.
So your linter produces a panic when it is used with generics.
There is an issue open about that in the Go repository: golang/go#48525
Inside golangci-lint, we have disabled your linters: golangci/golangci-lint#2649
You have 2 solutions:
Related to golang/go#50558
The text was updated successfully, but these errors were encountered: