reflect: Type interface is unimplemented comparable (generics) #51179
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?What did you do?
The document for reflect.Type interface has described is comparable.
However, I tried to compare with a function using generics comparable, and I get a compilation error.
What did you expect to see?
compilable
What did you see instead?
compilation error.
https://go.dev/play/p/vPcBpD86rST?v=gotip
The text was updated successfully, but these errors were encountered: