From 48e4284e551fceee7a45c11af791813782ca7e82 Mon Sep 17 00:00:00 2001 From: Jeremy Faller Date: Wed, 1 Dec 2021 17:03:15 -0500 Subject: [PATCH] doc/go1.18: add docs on FieldByIndexErr From: https://go-review.googlesource.com/c/go/+/357962/ Updates #47694 Change-Id: I2d43dcbd28c03457b55eada26e87f7710a113b0c Reviewed-on: https://go-review.googlesource.com/c/go/+/368364 Trust: Jeremy Faller Run-TryBot: Jeremy Faller TryBot-Result: Gopher Robot Reviewed-by: Ian Lance Taylor --- doc/go1.18.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/go1.18.html b/doc/go1.18.html index 5692a068ab..8f0fc1fb71 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -459,7 +459,10 @@ proposal.

- TODO: https://golang.org/cl/357962: add FieldByIndexErr + Value.FieldByIndexErr + has been added to avoid the panic that occurs in + Value.FieldByIndex + when stepping through a nil pointer to an embedded struct.

-- 2.50.0