]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/types2: use Identical to verify type identity in the Context map
authorRobert Griesemer <gri@golang.org>
Mon, 15 Nov 2021 22:56:33 +0000 (14:56 -0800)
committerRobert Griesemer <gri@golang.org>
Tue, 16 Nov 2021 06:36:08 +0000 (06:36 +0000)
commita52e4b9c7e8f5aae678596e0c198e67b3b2b1087
treeed1162c2972181d8cc247558690015f2552302d4
parentfebbef593e8d77500d0e330db91a7be1a71d05e9
cmd/compile/internal/types2: use Identical to verify type identity in the Context map

This is a clean port of CL 362798 from go/types to types2,
with an additional comment adjustment in types2 and go/types.

Change-Id: Ifa3d11f512f794f8ae2b6aca50b625a4a44672de
Reviewed-on: https://go-review.googlesource.com/c/go/+/364135
Trust: Robert Griesemer <gri@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
src/cmd/compile/internal/types2/context.go
src/cmd/compile/internal/types2/instantiate.go
src/cmd/compile/internal/types2/named.go
src/cmd/compile/internal/types2/predicates.go
src/cmd/compile/internal/types2/subst.go
src/cmd/compile/internal/types2/typexpr.go
src/go/types/typexpr.go