@findleyr requested issue #68334 to be considered for backport to the next 1.22 minor release.

@gopherbot please backport this issue to 1.22. It is a regression in the latest patch release and causes crashes in gopls.

Comment From: cagedmantis

Approved as it is a regression in the latest patch release and causes crashes in gopls.

Comment From: gopherbot

Change https://go.dev/cl/598055 mentions this issue: [release-branch.go1.22] go/types: fix assertion failure when range over int is not permitted

Comment From: gopherbot

Closed by merging CL 598055 (commit 4b27560db937aa104753a96bf011d7f13c4aedc3) to release-branch.go1.22.