-
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
x/tools/go/analysis: divide by zero in atomicalign.check64BitAlignment #30962
Comments
@arl worked on the analyzer, so perhaps he wants to look into this. |
Ok, you can assign it to me |
@zeebo does it happen with |
It doesn’t crash |
Indeed it doesn't crash @zeebo could you check if this is still valid please? |
|
|
I can confirm that it doesn't crash for me anymore. |
I believe this issue can be close |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I'm using
gopls
and I opened a file in a module that containedThe key part is that it's attempting to access a field inside of an anonymous struct with
sync/atomic
.What did you expect to see?
No crash.
What did you see instead?
The text was updated successfully, but these errors were encountered: