Skip to content

Commit

Permalink
go/types: remove Environment type
Browse files Browse the repository at this point in the history
Change-Id: Id53633477d1c07bce0c5fcbcab079da51076cdf2
Reviewed-on: https://go-review.googlesource.com/c/go/+/353351
Reviewed-by: Robert Griesemer <[email protected]>
Trust: Robert Findley <[email protected]>
Run-TryBot: Robert Findley <[email protected]>
TryBot-Result: Go Bot <[email protected]>
  • Loading branch information
180909 authored and findleyr committed Oct 1, 2021
1 parent e5ad363 commit f19b2d5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/go/types/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit f19b2d5

Please sign in to comment.