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
Consider this example:
func addr[T any](v T) *T { return &v } fmt.Println(cmp.Diff( addr("hello"), addr(any("hello")), ))
This currently prints:
any( - &⟪0xc0000102f0⟫string("hello"), + &⟪0xc000010300⟫string("hello"), )
which is unhelpful for determining exactly what the difference is.
The text was updated successfully, but these errors were encountered:
It should print something like:
any( - &⟪0xc0000102f0⟫string("hello"), + &⟪0xc000010300⟫any(string("hello")), )
or
any( - &⟪0xc0000102f0⟫string("hello"), + &⟪0xc000010300⟫any("hello"), )
Sorry, something went wrong.
Or even:
any( - &string("hello"), + &any("hello"), )
printing information about the pointers is unnecessary and actually a red-herring.
Successfully merging a pull request may close this issue.
Consider this example:
This currently prints:
which is unhelpful for determining exactly what the difference is.
The text was updated successfully, but these errors were encountered: