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
https://play.golang.org/p/hNAU0a4jXJo
var p unsafe.Pointer reflect.ValueOf(p).IsNil() // panic: "reflect: call of reflect.Value.IsNil on unsafe.Pointer Value"
This seems like an oversight, as it works for all other kinds of pointers, including func, interface, map, slice and chan.
The text was updated successfully, but these errors were encountered:
Change https://golang.org/cl/155797 mentions this issue: reflect: fix panic when Value.IsNil is called for UnsafePointer
reflect: fix panic when Value.IsNil is called for UnsafePointer
Sorry, something went wrong.
3b66c00
No branches or pull requests
https://play.golang.org/p/hNAU0a4jXJo
This seems like an oversight, as it works for all other kinds of pointers, including func, interface, map, slice and chan.
The text was updated successfully, but these errors were encountered: