]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.typeparams] go/types: disallow type list handling
authorRob Findley <rfindley@google.com>
Thu, 10 Jun 2021 15:26:08 +0000 (11:26 -0400)
committerRobert Findley <rfindley@google.com>
Thu, 17 Jun 2021 02:14:52 +0000 (02:14 +0000)
commit6237e441bca7f3429abde413bf71c7840fec9bf2
treec835e09331a8aeae31d3873b1579a67965a64f25
parent6e50f4f11166d5bfa2fba2f28bf4d43e3a713930
[dev.typeparams] go/types: disallow type list handling

This is a port of CL 324571 to go/types, though type list handling is
guarded by a const rather than a config option.

Change-Id: I91c940fead048980603e0bb56fcc896dbef4f94c
Reviewed-on: https://go-review.googlesource.com/c/go/+/326683
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.go
src/go/types/api_test.go
src/go/types/api_typeparams_test.go
src/go/types/interface.go
src/go/types/testdata/examples/constraints.go2
src/go/types/typestring_test.go