]> Cypherpunks repositories - gostls13.git/commit
go/types: slice exprs to accept type sets with single underlying types
authorRobert Findley <rfindley@google.com>
Fri, 29 Oct 2021 22:06:15 +0000 (18:06 -0400)
committerRobert Findley <rfindley@google.com>
Fri, 29 Oct 2021 22:27:54 +0000 (22:27 +0000)
commit71e6ab8f958bf346f9e0b46c4a35310615360215
tree61d9694cb1edc625efd807e8f8c6f2dac191aceb
parent02bd226b8abb713061fcef4e53ffebc57770466b
go/types: slice exprs to accept type sets with single underlying types

This is a port of CL 357779 to go/types. A test error message was
repositioned on the sliced operand.

Change-Id: Ie775c128f70d9cb08a2eba54b8bc082134ec3200
Reviewed-on: https://go-review.googlesource.com/c/go/+/359876
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/index.go
src/go/types/testdata/check/typeparams.go2