go/internal/typeparams
Tim King 960b4ce5ae internal/typeparams: adds core type implementation
Adds a function for computing the core type of a type for use within x/tools.

Updates golang/go#52940

Change-Id: I91645c0b27031506be51a5f9d53b3e125e6fd1c2
Reviewed-on: https://go-review.googlesource.com/c/tools/+/406838
Run-TryBot: Tim King <taking@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-05-17 21:56:59 +00:00
..
genericfeatures internal/typeparams: guard against generics in stdlib tests 2021-10-25 20:36:35 +00:00
common.go internal/typeparams: remove examples in favor of x/exp/typeparams 2022-05-10 12:58:44 +00:00
common_test.go internal/typeparams: add a generic form of types.AssignableTo 2022-02-08 16:50:25 +00:00
copytermlist.go internal/typeparams: run go generate with go1.18.2 2022-05-11 13:38:50 +00:00
coretype.go internal/typeparams: adds core type implementation 2022-05-17 21:56:59 +00:00
coretype_test.go internal/typeparams: adds core type implementation 2022-05-17 21:56:59 +00:00
enabled_go117.go Revert "internal/typeparams: hide go1.18 API usage behind a build constraint" 2021-09-28 23:30:19 +00:00
enabled_go118.go Revert "internal/typeparams: hide go1.18 API usage behind a build constraint" 2021-09-28 23:30:19 +00:00
normalize.go all: gofmt 2022-04-12 17:53:17 +00:00
normalize_test.go internal/typeparams: normalize the underlying constraint interface 2021-11-16 01:10:28 +00:00
termlist.go internal/typeparams: run go generate with go1.18.2 2022-05-11 13:38:50 +00:00
typeparams_go117.go internal/typeparams: add a generic form of types.AssignableTo 2022-02-08 16:50:25 +00:00
typeparams_go118.go internal/typeparams: add a generic form of types.AssignableTo 2022-02-08 16:50:25 +00:00
typeparams_test.go internal/typeparams: filter out API diffs related to types.Environment 2021-09-29 15:31:12 +00:00
typeterm.go internal/typeparams: run go generate with go1.18.2 2022-05-11 13:38:50 +00:00