]> Cypherpunks repositories - gostls13.git/commit
go/types: change types2.Union API to accept a list of Terms
authorRobert Findley <rfindley@google.com>
Mon, 16 Aug 2021 01:36:25 +0000 (21:36 -0400)
committerRobert Findley <rfindley@google.com>
Mon, 16 Aug 2021 14:27:24 +0000 (14:27 +0000)
commitb9f135d98fe687616b1ca8f7477e72c74af72459
treefeb9875d726781b93f6f0f0f76c44eaf19832de5
parentc2b4ec8f49184e02ea4832b4e495f206d4fc4b88
go/types: change types2.Union API to accept a list of Terms

This is a straightforward port of CL 340250 to go/types.

Change-Id: I8fc1c78833b5393fb39344fd248529df57870a72
Reviewed-on: https://go-review.googlesource.com/c/go/+/342437
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/builtins.go
src/go/types/subst.go
src/go/types/typeset.go
src/go/types/typestring.go
src/go/types/union.go