mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
Range over integer is enabled now without the GOEXPERIMENT. The GOEXPERIMENT is only for range over func. Rename it to rangefunc. For #61405. Change-Id: I9405fb8e2e30827875716786823856090a1a0cad Reviewed-on: https://go-review.googlesource.com/c/go/+/539277 Reviewed-by: Russ Cox <rsc@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
8 lines
153 B
Go
8 lines
153 B
Go
// Code generated by mkconsts.go. DO NOT EDIT.
|
|
|
|
//go:build !goexperiment.rangefunc
|
|
|
|
package goexperiment
|
|
|
|
const RangeFunc = false
|
|
const RangeFuncInt = 0
|