]> Cypherpunks repositories - gostls13.git/commit
go/types: move to an opaque environment for Instantiate
authorRobert Findley <rfindley@google.com>
Wed, 18 Aug 2021 17:22:38 +0000 (13:22 -0400)
committerRobert Findley <rfindley@google.com>
Mon, 23 Aug 2021 13:07:07 +0000 (13:07 +0000)
commitbaf2866956c2e03952383e19287a1e562cf09170
tree18419cfb3f79967c95b1a4801c9dd99360ba2322
parentc7e354d9d1975a3e55c8eb9e79c22106c4b770c4
go/types: move to an opaque environment for Instantiate

To match the API proposal, switch the first argument to Instantiate to
an opaque Environment handle, though for now this handle is
unimplemented.

Change-Id: I6207f0beafdf8497587abdad37db92f927db29b6
Reviewed-on: https://go-review.googlesource.com/c/go/+/343930
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/instantiate.go