]> Cypherpunks repositories - gostls13.git/commit
go/types, types2: add tests for literals in type parameter lists
authorRobert Findley <rfindley@google.com>
Mon, 14 Feb 2022 21:33:39 +0000 (16:33 -0500)
committerRobert Findley <rfindley@google.com>
Tue, 15 Feb 2022 14:54:27 +0000 (14:54 +0000)
commit76bd8ea9e133293d2a8253f01f66c1ca9add64e6
tree23622490773a68feb03ae9f49f83f9620456faea
parentdd7194b28ec7762ace737efc0f0a62c96cb4a4ad
go/types, types2: add tests for literals in type parameter lists

Add tests that verify consistent behavior of go/types and types2 with
respect to potentially ambiguous type parameter lists.

For #49482

Change-Id: I3386d4fa3eb91f2a8ea0987372ca40a6962de886
Reviewed-on: https://go-review.googlesource.com/c/go/+/385756
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/types2/testdata/fixedbugs/issue49482.go2 [new file with mode: 0644]
src/go/types/testdata/fixedbugs/issue49482.go2 [new file with mode: 0644]