]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.typeparams] go/types: convert testdata/check tests to type set syntax
authorRob Findley <rfindley@google.com>
Thu, 10 Jun 2021 13:27:44 +0000 (09:27 -0400)
committerRobert Findley <rfindley@google.com>
Thu, 17 Jun 2021 02:14:13 +0000 (02:14 +0000)
commit6e50f4f11166d5bfa2fba2f28bf4d43e3a713930
tree285a7d72a1c84cc14a2a06ab780b1efe0bf63d04
parentb6fc4d01a8d9cefe180fde97ace36588d1d31417
[dev.typeparams] go/types: convert testdata/check tests to type set syntax

This is a port of CL 324569 to go/types, with some error positions
adjusted: go/types puts errors related to terms on the '~', not type
name.

Change-Id: I92e8443ce27a5ecae0e3e0dac4811eaf3eee07ff
Reviewed-on: https://go-review.googlesource.com/c/go/+/326682
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/go/types/testdata/check/builtins.go2
src/go/types/testdata/check/issues.go2
src/go/types/testdata/check/linalg.go2
src/go/types/testdata/check/tinference.go2
src/go/types/testdata/check/typeinst2.go2
src/go/types/testdata/check/typeparams.go2