You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
go/analysis/passes/stdversion: test *.go < go.mod version
This CL adds two tests for when the file's Go version
(set by a //go:build constraint) is lower than the module's
Go version.
With a go.mod version < go1.21, the start of the "extended forward
compatibility" regime, stdversion is silent. But with go1.21+,
the build constraint in the file overrides the Go module version,
even when lower.
Fixesgolang/go#67123
Change-Id: Iba37ff2d2c6d0e42a5bd0fe80bbd8dc6b1a25ac9
Reviewed-on: https://go-review.googlesource.com/c/tools/+/582936
Reviewed-by: Tim King <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
0 commit comments