]> Cypherpunks.ru repositories - gostls13.git/commit
go/types: rename types.context to types.environment
authorRobert Findley <rfindley@google.com>
Wed, 10 Nov 2021 21:58:45 +0000 (16:58 -0500)
committerRobert Findley <rfindley@google.com>
Sat, 13 Nov 2021 00:50:04 +0000 (00:50 +0000)
commitc893a85f21d0e5448c687254e50cc6936b36548e
tree95981f08c81c49179a15ee2f80f9440fb976e879
parent530e320b2a9ed08f2bba39507b877fd66352d7ca
go/types: rename types.context to types.environment

Now that we have a Context type the context (unexported) type is
particularly confusing. Rename it to environment.

Change-Id: I7d280439b8263d9ebfd561fc4d59c6d43c8d3e3f
Reviewed-on: https://go-review.googlesource.com/c/go/+/363176
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/check.go
src/go/types/decl.go
src/go/types/stmt.go