]> Cypherpunks repositories - gostls13.git/commit
reflect: fix stale Value.kind documentation
authorJoe Tsai <joetsai@digital-static.net>
Wed, 24 Aug 2022 02:27:49 +0000 (19:27 -0700)
committerJoseph Tsai <joetsai@digital-static.net>
Wed, 7 Sep 2022 16:41:47 +0000 (16:41 +0000)
commitcdb270cf0737a4752e5375b737eba83929f2b415
tree3a2e17b47127be5b1f57e55a32fd959ef87c9c8a
parent027ff3f47d5d6557067324c342c8e14d7da1cf7a
reflect: fix stale Value.kind documentation

The lowests fives bits are the kind, and the next five bits are attributes,
not the other way around.

Change-Id: I5e1d13b195b766e99f66bb1227cc7f84e85dc49d
Reviewed-on: https://go-review.googlesource.com/c/go/+/425185
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: Keith Randall <khr@golang.org>
Auto-Submit: Keith Randall <khr@golang.org>
src/reflect/value.go