]> Cypherpunks repositories - gostls13.git/commit
go/types: better error messages for empty type sets
authorRobert Findley <rfindley@google.com>
Mon, 1 Nov 2021 18:46:35 +0000 (14:46 -0400)
committerRobert Findley <rfindley@google.com>
Tue, 2 Nov 2021 16:57:03 +0000 (16:57 +0000)
commitc406380fa984d14a1f104fd2502d832565b45eb2
tree3410bf0b0c3d60af5e4f8100ae3982c3e672327b
parent8c8baad927b2fd0bca589bacab658fe0f7eb5dac
go/types: better error messages for empty type sets

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

Change-Id: If1b4e51d1579fd168e651d79d031335ff09ca128
Reviewed-on: https://go-review.googlesource.com/c/go/+/360474
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/go/types/instantiate.go
src/go/types/testdata/check/typeinst2.go2
src/go/types/testdata/fixedbugs/issue47411.go2
src/go/types/typeset.go