]> Cypherpunks repositories - gostls13.git/commit
go/types: flip the default value of GODEBUG=gotypesalias=1
authorAlan Donovan <adonovan@google.com>
Tue, 9 Apr 2024 19:20:21 +0000 (15:20 -0400)
committerAlan Donovan <adonovan@google.com>
Mon, 15 Apr 2024 19:56:15 +0000 (19:56 +0000)
commitcf760ce29ce96be610d79a639eb930e85f78a149
tree60f9996b73a0719c3643c9760dd79cc0769b4cbf
parentcfbe6cd9bb1595e07ede1ffb1fff610819ffab00
go/types: flip the default value of GODEBUG=gotypesalias=1

This CL changes the interpretation of the unset value
of gotypesalias to equal "1". The actual deletion of
all the transitional logic will happen in a follow-up.

Note that the compiler still interprets unset as "0".
More work appears to be required within the compiler
before it is safe to flip its default.

Change-Id: I854ab1fd856c7c361a757676b0670e2f23402816
Reviewed-on: https://go-review.googlesource.com/c/go/+/577715
Reviewed-by: Robert Findley <rfindley@google.com>
Auto-Submit: Alan Donovan <adonovan@google.com>
Commit-Queue: Alan Donovan <adonovan@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/go/internal/gcimporter/ureader.go
src/go/types/api_test.go
src/go/types/check.go
src/go/types/check_test.go
src/go/types/decl.go
src/go/types/eval_test.go
src/go/types/issues_test.go
src/internal/godebugs/table.go