From 00a7bdcb55dbaffcf73e42c9c11e37823cc6e8cc Mon Sep 17 00:00:00 2001 From: Cherry Mui Date: Wed, 30 Jul 2025 16:16:48 -0400 Subject: 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 Reviewed-by: Mark Freeman Reviewed-by: Michael Knyszek --- test/fixedbugs/issue68054.go | 2 +- test/fixedbugs/issue68526.dir/a/a.go | 2 -- test/fixedbugs/issue68526.dir/main.go | 2 -- test/fixedbugs/issue68526.go | 2 +- test/fixedbugs/issue68580.go | 2 +- 5 files changed, 3 insertions(+), 7 deletions(-) (limited to 'test/fixedbugs') diff --git a/test/fixedbugs/issue68054.go b/test/fixedbugs/issue68054.go index 5409fc9081..e9f95efa14 100644 --- a/test/fixedbugs/issue68054.go +++ b/test/fixedbugs/issue68054.go @@ -1,4 +1,4 @@ -// compile -goexperiment aliastypeparams +// compile // Copyright 2024 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/fixedbugs/issue68526.dir/a/a.go b/test/fixedbugs/issue68526.dir/a/a.go index 83462c7fb9..6249eb59df 100644 --- a/test/fixedbugs/issue68526.dir/a/a.go +++ b/test/fixedbugs/issue68526.dir/a/a.go @@ -2,8 +2,6 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build goexperiment.aliastypeparams - package a type A[T any] = struct{ F T } diff --git a/test/fixedbugs/issue68526.dir/main.go b/test/fixedbugs/issue68526.dir/main.go index 966efd7190..8b72ea37b6 100644 --- a/test/fixedbugs/issue68526.dir/main.go +++ b/test/fixedbugs/issue68526.dir/main.go @@ -2,8 +2,6 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build goexperiment.aliastypeparams - package main import ( diff --git a/test/fixedbugs/issue68526.go b/test/fixedbugs/issue68526.go index 3067aa7622..aca6354b7c 100644 --- a/test/fixedbugs/issue68526.go +++ b/test/fixedbugs/issue68526.go @@ -1,4 +1,4 @@ -// runindir -goexperiment aliastypeparams -gomodversion "1.23" +// runindir -gomodversion "1.23" // Copyright 2024 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/test/fixedbugs/issue68580.go b/test/fixedbugs/issue68580.go index b60a7447aa..5c25d15b43 100644 --- a/test/fixedbugs/issue68580.go +++ b/test/fixedbugs/issue68580.go @@ -1,4 +1,4 @@ -// compile -goexperiment aliastypeparams +// compile // Copyright 2024 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style -- cgit v1.3-5-g9baa