From: Damien Neil
Date: Thu, 27 May 2021 01:06:26 +0000 (-0700)
Subject: doc/go1.17: document reflect changes
X-Git-Tag: go1.17beta1~76
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ab2ef4aaa77dff91cd98ded88aeba0bf5b5b2e80;p=gostls13.git
doc/go1.17: document reflect changes
For #44513.
Fixes #46019.
Change-Id: Ica84edd5703a4ccf343ff01e10483f8d51d1c79f
Reviewed-on: https://go-review.googlesource.com/c/go/+/323069
Trust: Damien Neil
Run-TryBot: Damien Neil
TryBot-Result: Go Bot
Reviewed-by: Dmitri Shuralyov
Reviewed-by: Ian Lance Taylor
---
diff --git a/doc/go1.17.html b/doc/go1.17.html
index 8313c2bc57..d0a0c0f33f 100644
--- a/doc/go1.17.html
+++ b/doc/go1.17.html
@@ -500,11 +500,13 @@ Do not send CLs removing the interior tags from such phrases.
- TODO: https://golang.org/cl/281233: add VisibleFields function
+ The new VisibleFields
function
+ returns all the visible fields in a struct type, including fields inside anonymous struct members.
- TODO: https://golang.org/cl/284136: panic if ArrayOf is called with negative length
+ The ArrayOf
function now panics when
+ called with a negative length.