diff --git a/src/internal/buildcfg/exp.go b/src/internal/buildcfg/exp.go index 7c7cefba7b..8c8a16c571 100644 --- a/src/internal/buildcfg/exp.go +++ b/src/internal/buildcfg/exp.go @@ -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. diff --git a/src/internal/goexperiment/flags.go b/src/internal/goexperiment/flags.go index 33a24433cb..ae5d4ad81a 100644 --- a/src/internal/goexperiment/flags.go +++ b/src/internal/goexperiment/flags.go @@ -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.