diff --git a/api/next/66056.txt b/api/next/66056.txt index 62a7cb1e74..db7065ade3 100644 --- a/api/next/66056.txt +++ b/api/next/66056.txt @@ -1,2 +1,4 @@ +pkg reflect, method (Value) Seq() iter.Seq[Value] #66056 +pkg reflect, method (Value) Seq2() iter.Seq2[Value, Value] #66056 pkg reflect, type Type interface, CanSeq() bool #66056 pkg reflect, type Type interface, CanSeq2() bool #66056 diff --git a/src/go/build/deps_test.go b/src/go/build/deps_test.go index 232bd95f6f..3b8434fef4 100644 --- a/src/go/build/deps_test.go +++ b/src/go/build/deps_test.go @@ -197,7 +197,7 @@ var depsRules = ` # FMT is OS (which includes string routines) plus reflect and fmt. # It does not include package log, which should be avoided in core packages. - arena, strconv, unicode, iter + arena, strconv, unicode < reflect; os, reflect diff --git a/src/reflect/iter.go b/src/reflect/iter.go index 2805bf0e93..539872ddd7 100644 --- a/src/reflect/iter.go +++ b/src/reflect/iter.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 go1.23 - package reflect import "iter" diff --git a/src/reflect/iter_test.go b/src/reflect/iter_test.go index 3ff26b1fa9..c4a14e7024 100644 --- a/src/reflect/iter_test.go +++ b/src/reflect/iter_test.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.rangefunc - package reflect_test import (