mirror of https://github.com/golang/go.git
This change clarifies that calling all Map methods inside the callback of Range is allowed. For further assurance, a nested range call test is also added. Fixes #46399 Change-Id: I0a766a5c1470e6b573ec35df1ccd62b2e46f1561 Reviewed-on: https://go-review.googlesource.com/c/go/+/337389 Reviewed-by: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Go Bot <gobot@golang.org> Trust: Ian Lance Taylor <iant@golang.org> |
||
|---|---|---|
| .. | ||
| atomic | ||
| cond.go | ||
| cond_test.go | ||
| example_pool_test.go | ||
| example_test.go | ||
| export_test.go | ||
| map.go | ||
| map_bench_test.go | ||
| map_reference_test.go | ||
| map_test.go | ||
| mutex.go | ||
| mutex_test.go | ||
| once.go | ||
| once_test.go | ||
| pool.go | ||
| pool_test.go | ||
| poolqueue.go | ||
| runtime.go | ||
| runtime2.go | ||
| runtime2_lockrank.go | ||
| runtime_sema_test.go | ||
| rwmutex.go | ||
| rwmutex_test.go | ||
| waitgroup.go | ||
| waitgroup_test.go | ||