aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCherry Mui <cherryyz@google.com>2025-06-30 17:34:01 -0400
committerCherry Mui <cherryyz@google.com>2025-07-29 12:44:58 -0700
commit25816d401c459a9dfedded3b42315a8bd2d32802 (patch)
tree16b7322d8c0628c0f7a67c67fba5ada7842f1218 /test
parent7961bf71f8d3119ac7a886b3658966973798f426 (diff)
downloadgo-25816d401c459a9dfedded3b42315a8bd2d32802.tar.xz
internal/goexperiment: delete RangeFunc goexperiment
It is now always enabeld. The GOEXPERIMENT doesn't control anything. Remove. Change-Id: I50eb09f4537f90ec28152eb59a5a689127843fce Reviewed-on: https://go-review.googlesource.com/c/go/+/684838 Reviewed-by: Michael Knyszek <mknyszek@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'test')
-rw-r--r--test/range2.go2
-rw-r--r--test/range4.go2
-rw-r--r--test/rangegen.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/range2.go b/test/range2.go
index 6ccf1e53d8..83f19adc20 100644
--- a/test/range2.go
+++ b/test/range2.go
@@ -1,4 +1,4 @@
-// errorcheck -goexperiment rangefunc
+// errorcheck
// Copyright 2023 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
diff --git a/test/range4.go b/test/range4.go
index 0b051f6d3c..e8c8da0ae3 100644
--- a/test/range4.go
+++ b/test/range4.go
@@ -1,4 +1,4 @@
-// run -goexperiment rangefunc
+// run
// Copyright 2023 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
diff --git a/test/rangegen.go b/test/rangegen.go
index 8231c64db7..9d7025bd2a 100644
--- a/test/rangegen.go
+++ b/test/rangegen.go
@@ -1,4 +1,4 @@
-// runoutput -goexperiment rangefunc
+// runoutput
// Copyright 2023 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style