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
Panic in 'ExtractIntoStructPtr' #2872
Comments
Thank you for reporting your first issue! Be sure that we will be looking at it, but keep in mind |
Thank you for this high-quality report featuring a minimal reproducer! |
Actually, your reproducer is misleading. The first line (where you pass a pointer to a pointer to For reference: https://go.dev/play/p/XN6nHpe52yp Could you find a case where the panic happens, in which you're not passing the literal |
Sorry, you are right, it seems to panic only when literal |
@bobuhiro11 |
@pierreprinetti |
Accidentally passing nil to 'ExtractIntoStructPtr' function would cause panic.
You can reproduce this by adding the following code to testing/results_test.go .
Outputs are as follows:
The text was updated successfully, but these errors were encountered: