You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
implemented by all comparable types (booleans, numbers, strings, pointers, channels, interfaces, arrays of comparable types, structs whose fields are all comparable types).
comparable
inbuiltin
should reflect the decision that its underlying type is not itself (see spec: document definition ofcomparable
#50791):However, according to the spec not all interfaces implement
comparable
:Maybe the doc comment should be more precise.
What version of Go are you using (
go version
)?The text was updated successfully, but these errors were encountered: