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
In the example below, the first type assertion is not detected because it is converted to a pointer.
I think that kind of conversions without assertion should be also detected.
package main import "fmt" type foo struct{} func main() { var field interface{} info := *field.(*foo) info2 := field.(*foo) fmt.Println(info, info2) }
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
In the example below, the first type assertion is not detected because it is converted to a pointer.
I think that kind of conversions without assertion should be also detected.
The text was updated successfully, but these errors were encountered: