]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.typeparams] cmd/gofmt: remove typeparams guards
authorRob Findley <rfindley@google.com>
Tue, 22 Jun 2021 00:12:20 +0000 (20:12 -0400)
committerRobert Findley <rfindley@google.com>
Tue, 22 Jun 2021 17:02:41 +0000 (17:02 +0000)
commit541612b9746c1c314884af4079bfe8d340aaf953
tree3ccab036153b3b16772cf5b7b305a028bdd15166
parent3e6219c6a9472e266d504d443b065e5a3e265a64
[dev.typeparams] cmd/gofmt: remove typeparams guards

Remove logic related to guarding against allowing type parameters from
cmd/gofmt. At this point, it was only restricting tests.

Change-Id: Idd198389aaa422636d61af547a37be49f3be6c97
Reviewed-on: https://go-review.googlesource.com/c/go/+/329931
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/cmd/gofmt/doc.go
src/cmd/gofmt/gofmt_test.go
src/cmd/gofmt/gofmt_typeparams_test.go [deleted file]
src/cmd/gofmt/testdata/typeparams.golden
src/cmd/gofmt/testdata/typeparams.input