]> Cypherpunks repositories - gostls13.git/commitdiff
all: enable alias type parameters GOEXPERIMENT by default
authorTim King <taking@google.com>
Thu, 5 Sep 2024 23:22:50 +0000 (16:22 -0700)
committerGo LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Wed, 25 Sep 2024 16:22:13 +0000 (16:22 +0000)
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>
src/internal/buildcfg/exp.go
src/internal/goexperiment/flags.go

index 7c7cefba7b2a6fa872073610129e40b14be93b0d..8c8a16c5710942be2d05cf3d24e3fd1a7161da4c 100644 (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.
index 33a24433cbd6b665591450b89acde703a8e65cc1..ae5d4ad81a0891b08a08536b20033d85399bd8f0 100644 (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.