Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
text/template: use reflect.Value.FieldByIndexErr
to avoid a crash on a nil pointer as an embedded field. Fixes #48215 Change-Id: I214faa6e3cf08cdec1c01035e4bbca0900c6a408 Reviewed-on: https://go-review.googlesource.com/c/go/+/357963 Trust: Rob Pike <[email protected]> Run-TryBot: Rob Pike <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
- Loading branch information