]> Cypherpunks.ru repositories - gostls13.git/commit
go/types: define Identical for instances
authorRobert Findley <rfindley@google.com>
Mon, 16 Aug 2021 17:15:47 +0000 (13:15 -0400)
committerRobert Findley <rfindley@google.com>
Mon, 16 Aug 2021 18:44:38 +0000 (18:44 +0000)
commit56a919f17f660af192855c1f7e9ede4876fefe9c
tree58e0310d294a945d7d87f26694a3f0bc64f31824
parentff36d11470b3b545ca953ba5e478fe8405860468
go/types: define Identical for instances

This is a port of CL 341856 to go/types. It is adjusted to use the
NumTArgs/TArg API of go/types, which has not yet been ported to types2.

Change-Id: I6faeec027f4ae08634267001f473263703e80c5b
Reviewed-on: https://go-review.googlesource.com/c/go/+/342478
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/api_test.go
src/go/types/predicates.go
src/go/types/unify.go