From 25816d401c459a9dfedded3b42315a8bd2d32802 Mon Sep 17 00:00:00 2001 From: Cherry Mui Date: Mon, 30 Jun 2025 17:34:01 -0400 Subject: 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 LUCI-TryBot-Result: Go LUCI --- test/range2.go | 2 +- test/range4.go | 2 +- test/rangegen.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'test') 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 -- cgit v1.3-5-g45d5