]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/types2: don't export TypeSet
authorRobert Griesemer <gri@golang.org>
Mon, 23 Aug 2021 23:25:37 +0000 (16:25 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 24 Aug 2021 16:36:46 +0000 (16:36 +0000)
commitbba460499c689de85e895fb2fac8ad3d09d4cd2c
tree2797b42e80f005e9f809046db1d6cf364bc98335
parentd70c69d830f873473851e37b47ac4f35b5200273
cmd/compile/internal/types2: don't export TypeSet

For now don't export TypeSet in the interest of
keeping the types2 API surface small(er).

This is a clean port of CL 341289 from go/types.

Change-Id: I50c747629f25472f2ec5ba59d7f543ee3c1c423b
Reviewed-on: https://go-review.googlesource.com/c/go/+/344610
Trust: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Griesemer <gri@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Dan Scales <danscales@google.com>
src/cmd/compile/internal/types2/interface.go
src/cmd/compile/internal/types2/sizeof_test.go
src/cmd/compile/internal/types2/typeset.go
src/cmd/compile/internal/types2/union.go
src/cmd/compile/internal/types2/universe.go