We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Yes
https://godbolt.org/z/snnP3KWv7
The 2 functions should do the same and just take the addresses of the local variables to invoke type..eq."".Bar.
type..eq."".Bar
The naive one creates 2 temporaries, then takes the addresses of those to invoke type..eq."".Bar, while the *& version does the expected operations.
*&
The text was updated successfully, but these errors were encountered:
CL https://go-review.googlesource.com/c/go/+/419234 fixed this, could not reproduce with go1.20 and tip.
Sorry, something went wrong.
Thanks, in that case, should I close the issue now?
Sure.
No branches or pull requests
Does this issue reproduce with the latest release?
Yes
What did you do?
https://godbolt.org/z/snnP3KWv7
What did you expect to see?
The 2 functions should do the same and just take the addresses of the local variables to invoke
type..eq."".Bar
.What did you see instead?
The naive one creates 2 temporaries, then takes the addresses of those to invoke
type..eq."".Bar
, while the*&
version does the expected operations.The text was updated successfully, but these errors were encountered: