Change information
Commit message:
go/analysis/passes/stdversion: suppress synctest warning
Some files that use synctest have complex build tags
that ensure that the synctest package is available
but do not necessarily imply that the go version is
go 1.25. We suppress the error to avoid false
positives in this case by relaxing the check
to go1.24.
Fixes golang/go#75367
Change-Id: Ifd586eba2dd63e7945d8a85bc36d704a3672e520
Files:
- M go/analysis/passes/stdversion/stdversion.go
- M gopls/internal/test/marker/marker_test.go
- A gopls/internal/test/marker/testdata/diagnostics/stdversion_synctest.txt
- M internal/mcp/conformance_test.go
Change size: S
Delta: 4 files changed, 40 insertions(+), 4 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Code-Review: +2 by Alan Donovan
TryBots-Pass: LUCI-TryBot-Result-1 by Go LUCI, TryBot-Bypass+1 by Madeline Kalil