зеркало из https://github.com/golang/tools.git
adb7301a7f
CL 607955 is changing the behavior of "//go:build" file versions. Before, file versions did not apply if go version was set for the package, but after CL 6079055, the package's go version does not influence whether the file version is applied: max(fileVersion, go1.21) will always be applied. Once CL 607955 is released in a go 1.23 minor release, we can update the test to require go1.23 and test for the new behavior (though it would fail for users building with a version of go older than the minor release with the behavior update). For golang/go#68658 Change-Id: I99d39ce108274edf401d861e553ad923b508f936 Reviewed-on: https://go-review.googlesource.com/c/tools/+/608797 Reviewed-by: Robert Griesemer <gri@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> |
||
---|---|---|
.. | ||
constraint.go | ||
constraint_go121.go | ||
features.go | ||
gover.go | ||
toolchain.go | ||
toolchain_go119.go | ||
toolchain_go120.go | ||
toolchain_go121.go | ||
types.go | ||
types_go121.go | ||
types_go122.go | ||
types_test.go | ||
versions.go | ||
versions_test.go |