]> Cypherpunks repositories - gostls13.git/commit
go/types, types2: unexport NewTypeList
authorRobert Findley <rfindley@google.com>
Mon, 6 Dec 2021 03:18:04 +0000 (22:18 -0500)
committerRobert Findley <rfindley@google.com>
Mon, 6 Dec 2021 14:58:33 +0000 (14:58 +0000)
commitf8a8a73096a4d36ce7d35e9643db89e669bbee1f
treef0c40e6d021f1204ed0b436e68fd92b4bf3eae70
parent20b9aaca30f7caa5a7cdd05fe0c2e18f64b04a16
go/types, types2: unexport NewTypeList

NewTypeList was not part of the go/types API proposal, and was left in
by accident. It also shouldn't be necessary, so remove it.

Updates #47916

Change-Id: I4db3ccf036ccfb708ecf2c176ea4921fe68089a4
Reviewed-on: https://go-review.googlesource.com/c/go/+/369475
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
doc/go1.18.html
src/cmd/compile/internal/types2/check.go
src/cmd/compile/internal/types2/instantiate.go
src/cmd/compile/internal/types2/typelists.go
src/cmd/compile/internal/types2/typexpr.go
src/go/types/check.go
src/go/types/instantiate.go
src/go/types/typelists.go
src/go/types/typexpr.go