From f19b2d50c6d9918c1c121ccd8cb2a4f4a2d3f30b Mon Sep 17 00:00:00 2001 From: jiahua wang Date: Fri, 1 Oct 2021 21:58:51 +0800 Subject: [PATCH] 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 --- src/go/types/context.go | 4 ---- 1 file changed, 4 deletions(-) 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{ -- 2.48.1