diff options
| author | Cherry Mui <cherryyz@google.com> | 2025-07-30 16:16:48 -0400 |
|---|---|---|
| committer | Cherry Mui <cherryyz@google.com> | 2025-08-12 06:28:26 -0700 |
| commit | 00a7bdcb55dbaffcf73e42c9c11e37823cc6e8cc (patch) | |
| tree | bbbf6987eb78ffe1430d76cb03fece8de406588c /src/cmd/compile/internal/noder/unified.go | |
| parent | 74421a305b4d76259d9860529fe59e8fc9bad81e (diff) | |
| download | go-00a7bdcb55dbaffcf73e42c9c11e37823cc6e8cc.tar.xz | |
all: delete aliastypeparams GOEXPERIMENT
Always enable aliastypeparams and remove the GOEXPERIMENT.
Change-Id: Ic38fe25b0bba312a7f83f7bb94b57ab75ce0f0c3
Reviewed-on: https://go-review.googlesource.com/c/go/+/691956
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Mark Freeman <markfreeman@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src/cmd/compile/internal/noder/unified.go')
| -rw-r--r-- | src/cmd/compile/internal/noder/unified.go | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/cmd/compile/internal/noder/unified.go b/src/cmd/compile/internal/noder/unified.go index 85982d7c18..05f4483d0d 100644 --- a/src/cmd/compile/internal/noder/unified.go +++ b/src/cmd/compile/internal/noder/unified.go @@ -7,7 +7,6 @@ package noder import ( "cmp" "fmt" - "internal/buildcfg" "internal/pkgbits" "internal/types/errors" "io" @@ -464,11 +463,8 @@ func readPackage(pr *pkgReader, importpkg *types.Pkg, localStub bool) { // writeUnifiedExport writes to `out` the finalized, self-contained // Unified IR export data file for the current compilation unit. func writeUnifiedExport(out io.Writer) { - // Use V2 as the encoded version aliastypeparams GOEXPERIMENT is enabled. - version := pkgbits.V1 - if buildcfg.Experiment.AliasTypeParams { - version = pkgbits.V2 - } + // Use V2 as the encoded version for aliastypeparams. + version := pkgbits.V2 l := linker{ pw: pkgbits.NewPkgEncoder(version, base.Debug.SyncFrames), |
