]> Cypherpunks repositories - gostls13.git/commit
Revert "go/types, types2: only use fileVersion if 1.21 or greater"
authorMichael Matloob <matloob@golang.org>
Wed, 14 Aug 2024 20:04:08 +0000 (20:04 +0000)
committerMichael Matloob <matloob@golang.org>
Thu, 15 Aug 2024 14:43:25 +0000 (14:43 +0000)
commit2693f77b3583585172810427e12a634b28d34493
tree0a085e8442a627bc49fdc6697bb028c760ca560a
parent1419d0e92511735adb319b310155a1965dc20eb8
Revert "go/types, types2: only use fileVersion if 1.21 or greater"

This reverts CL 603895

Reason for revert: We've decided to change the logic for how upgrades are done and want to submit the new logic in a self contained CL that can be cherry-picked onto release-branch.go1.23

Change-Id: I366af8e95ce1de7311b0385a23f9dd3df175745a
Reviewed-on: https://go-review.googlesource.com/c/go/+/605675
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/compile/internal/types2/api_test.go
src/cmd/compile/internal/types2/check.go
src/go/types/api_test.go
src/go/types/check.go
src/internal/types/testdata/check/go1_20_19.go
src/internal/types/testdata/check/go1_21_19.go
src/internal/types/testdata/check/go1_21_22.go [deleted file]
src/internal/types/testdata/check/go1_22_21.go [deleted file]
src/internal/types/testdata/fixedbugs/issue66285.go
test/fixedbugs/issue63489a.go