]> Cypherpunks.ru repositories - gostls13.git/commit
go/types, types2: move posVers field into group of package-specific fields (cleanup)
authorRobert Griesemer <gri@golang.org>
Tue, 1 Aug 2023 22:48:17 +0000 (15:48 -0700)
committerGopher Robot <gobot@golang.org>
Wed, 2 Aug 2023 17:32:07 +0000 (17:32 +0000)
commitce5e37ec21442c6eb13a43e68ca20129102ebac0
tree833f679d414246062a6af37ff2078a4aa78a867f
parenta915b999c915eb7827396013bcb334747863e66e
go/types, types2: move posVers field into group of package-specific fields (cleanup)

posVers exists once for an entire package. Move it into the group
of fields related to the entire package (and out from the group
of fields that are specific to each batch of files).

Change-Id: I40ea722578408bdf2b85db91b65680e720c0c502
Reviewed-on: https://go-review.googlesource.com/c/go/+/514998
Auto-Submit: Robert Griesemer <gri@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
src/cmd/compile/internal/types2/check.go
src/go/types/check.go