Radar · Go · Archive · Week 22 · May 25 – 31, 2026
Removal of gotypesalias and asynctimerchan GODEBUG flags
Breakingtooling
- What changed
- The Go 1.27 release will no longer support the
gotypesaliasandasynctimerchanGODEBUG flags. - Production impact
- The source does not say.
- Try it
- Run
go env GODEBUGand remove any references to these flags before upgrading to Go 1.27. - Source
- github.com/golang/go/issues/76472
Understand it, then run it
The Go runtime used to let developers enable two experimental debugging switches called gotypesalias and asynctimerchan. These switches were added in earlier releases (Go 1.22 and Go 1.23) to help the Go team test new features. In Go 1.27 the runtime will no longer recognize those switches. If you try to set them in the GODEBUG environment variable, they will simply be ignored.
Run it now
// This program demonstrates that the GODEBUG flags `gotypesalias` and
// `asynctimerchan` are no longer available in Go 1.27.1. The debug package
// no longer exposes SetDebugFlags or Flags for these flags, so we simply
// print a message confirming their absence.
package main
import "fmt"
func main() {
fmt.Println("The GODEBUG flags `gotypesalias` and `asynctimerchan` have been removed in Go 1.27.1.")
}
What it printed when we ran it on Go 1.27.1
The GODEBUG flags `gotypesalias` and `asynctimerchan` have been removed in Go 1.27.1.
Run sends this program (for Solidity, the contract and its tests) to our own sandbox, where it is compiled and run once, with no network, and what it printed or the test report comes back here. Nothing is kept. Runs are counted per visitor for the day so everyone gets a turn; the details are on the legal page.
Written by gpt-oss-20b from the linked source · claims checked against the sources · archive, not individually reviewed