]> Cypherpunks repositories - gostls13.git/commit
reflect: let Value.Seq iterate integer conform to the spec
authorqiulaidongfeng <2645477756@qq.com>
Fri, 10 May 2024 08:38:42 +0000 (08:38 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 10 May 2024 14:27:54 +0000 (14:27 +0000)
commitb44600f83f5431f9af00cb209c443fe167588b6e
treefffe5378b8efe2ba9c44b01f47a1bf6e11037e1f
parenta548dee75cc2fd578acc303f58887a50e64e29bc
reflect: let Value.Seq iterate integer conform to the spec

See CL 557596, according to the go specification,
the iterated variable type should
be the same as the iterated integer type.

For #66056

Change-Id: I96c87440328c2c50c40d76ecf2f222a331be1ce9
GitHub-Last-Rev: 8f80e401e5d7e092290d94e2bfcac89f3e04c2c5
GitHub-Pull-Request: golang/go#67269
Reviewed-on: https://go-review.googlesource.com/c/go/+/584516
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Cherry Mui <cherryyz@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/reflect/iter.go
src/reflect/iter_test.go