]> Cypherpunks repositories - gostls13.git/commit
go/types: generalize instanceHash to accept any type, rename to typeHash
authorRobert Findley <rfindley@google.com>
Tue, 31 Aug 2021 22:12:15 +0000 (18:12 -0400)
committerRobert Findley <rfindley@google.com>
Wed, 1 Sep 2021 00:35:54 +0000 (00:35 +0000)
commit0df6df17e12d4cf8c2ed7c68ce8841a18f739f63
tree45b5cc4879a0bac449d7c1a16f41365f7554281e
parent3c8c9e1e443a0a49ae42836b82fb1290d42b7857
go/types: generalize instanceHash to accept any type, rename to typeHash

This is a port of CL 345791 to go/types.

Change-Id: I673c22ad8b668f07aae4117555b1c0efb273fb78
Reviewed-on: https://go-review.googlesource.com/c/go/+/346556
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Robert Griesemer <gri@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
src/go/types/instantiate.go
src/go/types/named.go
src/go/types/stmt.go
src/go/types/subst.go
src/go/types/typestring.go