tools/cmd/stringer/testdata
Robert Griesemer 9cd58b0b94 x/tools/cmd/stringer: adjust generics tests
Per the issue below, a lone type parameter is not permitted
on the the RHS of a type declaration, at least for Go 1.18.

Slightly modified the generics tests so that they pass for
now.

For golang/go#45639.

Change-Id: I3c5dc0ff65bfdc268c372e5e3fdfe00a8547f17e
Reviewed-on: https://go-review.googlesource.com/c/tools/+/359274
Trust: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Griesemer <gri@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Peter Weinberger <pjw@google.com>
2021-10-28 00:09:41 +00:00
..
typeparams x/tools/cmd/stringer: adjust generics tests 2021-10-28 00:09:41 +00:00
cgo.go tools/cmd/stringer: fake import C. 2014-11-27 15:36:14 +11:00
conv.go cmd/stringer: accept simple type conversion expressions in constant ValueSpec 2018-11-01 07:19:27 +00:00
day.go go.tools/cmd/stringer: add end-to-end test that compiles, runs, and verifies the generated method 2014-09-05 15:42:23 -07:00
gap.go go.tools/cmd/stringer: add end-to-end test that compiles, runs, and verifies the generated method 2014-09-05 15:42:23 -07:00
num.go go.tools/cmd/stringer: add end-to-end test that compiles, runs, and verifies the generated method 2014-09-05 15:42:23 -07:00
number.go go.tools/cmd/stringer: add end-to-end test that compiles, runs, and verifies the generated method 2014-09-05 15:42:23 -07:00
prime.go go.tools/cmd/stringer: add end-to-end test that compiles, runs, and verifies the generated method 2014-09-05 15:42:23 -07:00
tag_main.go cmd/stringer: add a -tags flag that supports build tags 2018-07-10 05:22:40 +00:00
tag_tag.go cmd/stringer: add a -tags flag that supports build tags 2018-07-10 05:22:40 +00:00
unum.go go.tools/cmd/stringer: add end-to-end test that compiles, runs, and verifies the generated method 2014-09-05 15:42:23 -07:00
unum2.go cmd/stringer: fix panic caused by integer overflow 2015-06-02 19:44:20 +00:00
vary_day.go cmd/stringer: compile error when constants change 2019-03-18 00:52:22 +00:00