The `gotypesalias` GODEBUG setting introduced in [Go 1.22](/doc/godebug#go-122) will be removed in the next major Go release. Starting in Go 1.27, the [go/types](/pkg/go/types) package will always produce an [Alias type](/pkg/go/types#Alias) for the representation of [type aliases](/ref/spec#Type_declarations) regardless of GODEBUG setting or go.mod language version.