Skip to content

Commit 4a1167d

Browse files
timothy-kingGo LUCI
authored and
Go LUCI
committed
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 <[email protected]> Reviewed-by: Robert Griesemer <[email protected]> Commit-Queue: Tim King <[email protected]> Reviewed-by: David Chase <[email protected]>
1 parent 6cb1074 commit 4a1167d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/internal/buildcfg/exp.go

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ func ParseGOEXPERIMENT(goos, goarch, goexp string) (*ExperimentFlags, error) {
7171
RegabiWrappers: regabiSupported,
7272
RegabiArgs: regabiSupported,
7373
CoverageRedesign: true,
74+
AliasTypeParams: true,
7475
}
7576

7677
// Start with the statically enabled set of experiments.

src/internal/goexperiment/flags.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ type Flags struct {
113113

114114
// AliasTypeParams enables type parameters for alias types.
115115
// Requires that gotypesalias=1 is set with GODEBUG.
116-
// This flag will be removed with Go 1.24.
116+
// This flag will be removed with Go 1.25.
117117
AliasTypeParams bool
118118

119119
// SwissMap enables the SwissTable-based map implementation.

0 commit comments

Comments
 (0)