]> Cypherpunks.ru repositories - gostls13.git/commit
reflect: rename Mapiter.SetKey to Value.SetIterKey
authorKeith Randall <khr@golang.org>
Fri, 15 Oct 2021 00:30:42 +0000 (17:30 -0700)
committerKeith Randall <khr@golang.org>
Fri, 15 Oct 2021 03:49:17 +0000 (03:49 +0000)
commit8dab959a8e3c631e3166eb08ba450bfdbbf56e03
treefe52bb2051fd8e2966314b3639b724d932034a56
parent3da0ff8e3b05333c378efe17585609598692791e
reflect: rename Mapiter.SetKey to Value.SetIterKey

Same for Value.

Add a bigger test. Include some shouldPanic checks.

Fix a bug in assignment conversion.

Fixes #48294

Change-Id: Id863ee5122a5787a7b35574b18586fd24d118788
Reviewed-on: https://go-review.googlesource.com/c/go/+/356049
Trust: Keith Randall <khr@golang.org>
Trust: Josh Bleecher Snyder <josharian@gmail.com>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/reflect/all_test.go
src/reflect/value.go