From ab2ef4aaa77dff91cd98ded88aeba0bf5b5b2e80 Mon Sep 17 00:00:00 2001
From: Damien Neil
Date: Wed, 26 May 2021 18:06:26 -0700
Subject: [PATCH] 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
---
doc/go1.17.html | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
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.