From: jiahua wang Date: Fri, 1 Oct 2021 13:58:51 +0000 (+0800) Subject: go/types: remove Environment type X-Git-Tag: go1.18beta1~1096 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f19b2d50c6d9918c1c121ccd8cb2a4f4a2d3f30b;p=gostls13.git go/types: remove Environment type Change-Id: Id53633477d1c07bce0c5fcbcab079da51076cdf2 Reviewed-on: https://go-review.googlesource.com/c/go/+/353351 Reviewed-by: Robert Griesemer Trust: Robert Findley Run-TryBot: Robert Findley TryBot-Result: Go Bot --- diff --git a/src/go/types/context.go b/src/go/types/context.go index bbdaade632..99baad8d0f 100644 --- a/src/go/types/context.go +++ b/src/go/types/context.go @@ -22,10 +22,6 @@ type Context struct { seen map[*Named]int // assigned unique IDs } -// Temporary alias to allow x/tools tests to pass. -// TODO(rfindley): remove the Environment type. -type Environment = Context - // NewContext creates a new Context. func NewContext() *Context { return &Context{