@matloob requested issue #68658 to be considered for backport to the next 1.23 minor release.
@gopherbot please backport this to 1.23. It's necessary to unbreak GOPATH mode with certain build tags
Comment From: matloob
cc @griesemer
Comment From: gopherbot
Change https://go.dev/cl/608935 mentions this issue: [release-branch.go1.23] go/types, types2: use max(fileVersion, go1.21) if fileVersion present
Comment From: gopherbot
Closed by merging CL 608935 (commit 7afe17bbdb961df3a7163f4d725bedc1c008571f) to release-branch.go1.23
.