commit | 7b70c52cddeebea9ebeac003f8c6aad59497e5f0 | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Wed Apr 19 14:54:29 2017 -0700 |
committer | Ian Lance Taylor <iant@golang.org> | Thu Apr 20 01:22:24 2017 +0000 |
tree | e79b8061b5305234cfbed39caa5f3599ec5bc915 | |
parent | c321de7b738c4a3387c1842919c9305acfa04c57 [diff] |
reflect: make sure to clear unusable hash/equal function Otherwise we wind up copying the one from the prototype, which is wrong. Also rewrite the hash/equal functions to look like the ones in Go 1.8, mainly a matter of changing names and using arrayAt. Change-Id: I92f5c45efb53528d87124d04bef31bdb822f16f4 Reviewed-on: https://go-review.googlesource.com/41133 Reviewed-by: Than McIntosh <thanm@google.com>