GOEXPERIMENT=unified now enabled by default at tip

201 views
Skip to first unread message

Matthew Dempsky

unread,
Aug 18, 2022, 7:13:15 PM8/18/22
to golang-dev
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

Reply all
Reply to author
Forward
0 new messages