]> Cypherpunks repositories - gostls13.git/commit
go/types: adjust printing of type parameter in error
authorRobert Findley <rfindley@google.com>
Tue, 2 Nov 2021 22:29:27 +0000 (18:29 -0400)
committerRobert Findley <rfindley@google.com>
Wed, 3 Nov 2021 00:07:03 +0000 (00:07 +0000)
commitd6f7203a3c63276680457b9794191a366a1a4401
tree0c0f6661a636856a55ddd6d2fa06803bc28e39b9
parent32d27527a6dfb45a98d47a4a9ac5341028d79aa1
go/types: adjust printing of type parameter in error

This is a clean port of CL 360514 to go/types.

Change-Id: Ia13638b3758b3b8017867934d09136ac5f9a62ca
Reviewed-on: https://go-review.googlesource.com/c/go/+/360935
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/go/types/infer.go
src/go/types/testdata/fixedbugs/issue45985.go2