1
0
mirror of https://github.com/golang/go synced 2024-11-14 17:30:29 -07:00

all: enable alias type parameters GOEXPERIMENT by default

For #68778

Change-Id: I4b39f84665262251ca014d3f5fe74b2fd434d51e
Reviewed-on: https://go-review.googlesource.com/c/go/+/613236
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Commit-Queue: Tim King <taking@google.com>
Reviewed-by: David Chase <drchase@google.com>
This commit is contained in:
Tim King 2024-09-05 16:22:50 -07:00 committed by Go LUCI
parent 6cb107452a
commit 4a1167dfe1
2 changed files with 2 additions and 1 deletions

View File

@ -71,6 +71,7 @@ func ParseGOEXPERIMENT(goos, goarch, goexp string) (*ExperimentFlags, error) {
RegabiWrappers: regabiSupported,
RegabiArgs: regabiSupported,
CoverageRedesign: true,
AliasTypeParams: true,
}
// Start with the statically enabled set of experiments.

View File

@ -113,7 +113,7 @@ type Flags struct {
// AliasTypeParams enables type parameters for alias types.
// Requires that gotypesalias=1 is set with GODEBUG.
// This flag will be removed with Go 1.24.
// This flag will be removed with Go 1.25.
AliasTypeParams bool
// SwissMap enables the SwissTable-based map implementation.