Closed fernandez14 closed 9 months ago
Would you be able to add a test similar to the one you have in that go playground as part of this PR? That way it's easier to make sure this doesn't break again in the future
Would you be able to add a test similar to the one you have in that go playground as part of this PR? That way it's easier to make sure this doesn't break again in the future
I isolated the check into a function and added a test to it. Let me know how it looks and thanks for taking a look.
@fernandez14 sorry for the delay but your change is now tagged in v10.12.0. Thank you again!
We've been experiencing panics on production code with a stack trace like this:
We noticed that, while there's a nil guard on evt.Result, we also need to check that, when result implementation is filled with a pointer that pointer is not nil.
I've written a similar example of this issue on https://go.dev/play/p/mVBQkMv7lJU