x/tools/gopls: panic in fillstruct analyzer #39899
Oops, it appears that the reason fillstruct was implicated was that it was panicking, and the way I had structured my stress test led to other results hitting the cache, whereas fillstruct missed the cache due to the panic below.
We've since produces more generalized mayhem by updating the stress test to type more randomly...
Updated this issue to instead refer to the fillstruct panic.
The text was updated successfully, but these errors were encountered:
The previous implementation missed a nil check which caused a panic when the package of a type was nil. Fixes: golang/go#39899 Change-Id: I2dfb50d6b79f52df367e093e5d857cd70b7cef27 Reviewed-on: https://go-review.googlesource.com/c/tools/+/240537 Run-TryBot: Josh Baum <firstname.lastname@example.org> TryBot-Result: Gobot Gobot <email@example.com> Reviewed-by: Rebecca Stambler <firstname.lastname@example.org> (cherry picked from commit aa3d501) Reviewed-on: https://go-review.googlesource.com/c/tools/+/240538 Run-TryBot: Rebecca Stambler <email@example.com> Reviewed-by: Josh Baum <firstname.lastname@example.org>