]> Cypherpunks repositories - gostls13.git/commitdiff
go/types: remove Environment type
authorjiahua wang <wjh180909@gmail.com>
Fri, 1 Oct 2021 13:58:51 +0000 (21:58 +0800)
committerRobert Findley <rfindley@google.com>
Fri, 1 Oct 2021 16:17:08 +0000 (16:17 +0000)
Change-Id: Id53633477d1c07bce0c5fcbcab079da51076cdf2
Reviewed-on: https://go-review.googlesource.com/c/go/+/353351
Reviewed-by: Robert Griesemer <gri@golang.org>
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Go Bot <gobot@golang.org>

src/go/types/context.go

index bbdaade6321d0841956cb149b8f279d1b822286f..99baad8d0f6b95a86750c46e2252c7339f8923f4 100644 (file)
@@ -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{