I've just submitted
go.dev/cl/422235, which enables GOEXPERIMENT=unified by default. This enables a new frontend in the Go compiler, which should improve cmd/compile's support for generics.
If generics are already working well for you, this change should have no visible effect. But if you've been writing tricky generics code and experiencing compiler crashes or miscompilations, it's expected this new frontend should alleviate those issues.
If you run into issues, please report them at
go.dev/issue/new and tag me (@mdempsky). If necessary, you can revert to the old frontend by setting the `GOEXPERIMENT=nounified` environment variable.
Thanks