]> Cypherpunks.ru repositories - gostls13.git/commit
go/types: use TypeList in the Inferred struct
authorRobert Findley <rfindley@google.com>
Fri, 20 Aug 2021 14:19:12 +0000 (10:19 -0400)
committerRobert Findley <rfindley@google.com>
Mon, 23 Aug 2021 13:09:18 +0000 (13:09 +0000)
commit4fbb5c8666eef0267704dd074763442efb2f7c4a
tree8be60c0ae859ea9693fa0699f8fdbaa21d27c876
parent7a6d64fed6e4122743aa204edd42a02e40ce9728
go/types: use TypeList in the Inferred struct

This is for consistency with how we report TArgs elsewhere, and in case
we ever want to share an internal slice with inference reporting.

Change-Id: Ia8b705a155f4f82bd8da8dc2457289810f875f5e
Reviewed-on: https://go-review.googlesource.com/c/go/+/343934
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/api.go
src/go/types/api_test.go
src/go/types/check.go