Commit Graph

2 Commits (3bb6939bf6762eeb6c52c9a9cfbd334bbdaf9cc4)

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.
8 months ago
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.
9 months ago