2 Commits

Author SHA1 Message Date
Daniel Martí
cb83c50b13 all: run gopls's modernize -fix
Except on reflect_abi_code.go, as that needs to be compatible
with older versions of Go given that we inject its code.
2025-02-22 15:05:23 +00:00
Daniel Martí
8ca3d0adcf bundle x/tools/go/types/typeutil.hash and modify it
See the two "NOTE" comments below. In summary:

* struct field tags are not hashed
* named types are hashed by name rather than by pointer

We are keeping an eye on https://go.dev/issue/69420 as well.
2025-01-18 05:51:03 +01:00