Change information
Commit message:
internal/typesinternal: suppress jsonv2 warning
The GOEXPERIMENT=jsonv2 added in Go1.25 allows
imports of encoding/json/v2 and encoding/json/jsontext.
If the go version is at least 1.25, we should suppress
"too new" warnings for symbols in these packages
to avoid a false positive (since we don't know the specific
build tags when determining the too new symbols).
Fixes golang/go#80691
Change-Id: Id4f35e00c561f49d367da9e122c2bbc960c7f440
Files:
- A gopls/internal/test/marker/testdata/diagnostics/stdversion_jsonv2.txt
- M internal/typesinternal/toonew.go
Change size: S
Delta: 2 files changed, 28 insertions(+), 0 deletions(-)
Branch: refs/heads/master