]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.typeparams] go/types: use type terms to represent unions
authorRob Findley <rfindley@google.com>
Wed, 4 Aug 2021 01:10:42 +0000 (21:10 -0400)
committerRobert Findley <rfindley@google.com>
Wed, 4 Aug 2021 11:07:13 +0000 (11:07 +0000)
commited3667d0795c6567dc5635d6c5c38c2abff4c8e4
treea35a6479751f94e8deee29124a2f3973c6d5fd72
parent880ab6209e618c7dd6e47fa07e66176cd801eba1
[dev.typeparams] go/types: use type terms to represent unions

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

Change-Id: I414ec0ad95648c201e85fd2b4f494b1206c658e7
Reviewed-on: https://go-review.googlesource.com/c/go/+/339674
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/infer.go
src/go/types/interface.go
src/go/types/operand.go
src/go/types/predicates.go
src/go/types/sizeof_test.go
src/go/types/subst.go
src/go/types/testdata/examples/constraints.go2
src/go/types/type.go
src/go/types/typeset.go
src/go/types/typestring.go
src/go/types/union.go