]> Cypherpunks repositories - gostls13.git/commit
reflect: add Type.Comparable
authorRuss Cox <rsc@golang.org>
Tue, 16 Sep 2014 21:40:10 +0000 (17:40 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 16 Sep 2014 21:40:10 +0000 (17:40 -0400)
commita325f4f2b35d16724750c8c46857d0a840790fd2
treeffbae94fadfb672fbe2829a71dfaef166824e12a
parent653fb6d872e31b05441f313911684d5cd351597e
reflect: add Type.Comparable

Like most of the Type methods, the definition of Comparable
is what the Go spec says it is.

Fixes #7911.

LGTM=gri
R=gri, r
CC=golang-codereviews
https://golang.org/cl/144020043
src/reflect/all_test.go
src/reflect/type.go