internal/reflectlite: ValueError assumes that all errors pertain to Invalid Kind #39286
Labels
FrozenDueToAge
help wanted
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Consider the following programming error:
What did you expect to see?
In earlier versions of go (when
sort
was still usingreflect
) we'd get a more accurate/helpful panic message:What did you see instead?
Since migration to
internal/reflectlite
we get the following instead:The text was updated successfully, but these errors were encountered: