]> Cypherpunks repositories - gostls13.git/commit
go/types: implement Identical for *Union types
authorRobert Findley <rfindley@google.com>
Sun, 12 Sep 2021 18:33:04 +0000 (14:33 -0400)
committerRobert Findley <rfindley@google.com>
Wed, 15 Sep 2021 00:05:40 +0000 (00:05 +0000)
commit0bb40b08c4884952d7facce3135ff9e50847763f
tree577fa213e35b251afbbfbd145c37e24d97e95810
parentcb4e1de0213c836983d1b441386c53e1a66e1b0a
go/types: implement Identical for *Union types

This aligns with the API proposal (#47916).

Change-Id: I732e5b107e729718ed37e053ad3f434993a97ecd
Reviewed-on: https://go-review.googlesource.com/c/go/+/349413
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/go/types/api_test.go
src/go/types/predicates.go