From: Daniel Martí Date: Thu, 19 Jul 2018 10:06:56 +0000 (+0100) Subject: doc: remove paragraph about text/template/parse X-Git-Tag: go1.11beta2~24 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f3582de3a0d4d9fb14763494cc4def548042274f;p=gostls13.git doc: remove paragraph about text/template/parse The backwards incompatible changes were undone in CL 120355, while still preserving the additions needed for assignments in templates to work. Change-Id: Ie76a798916ef36509c88e171a04bb2cf2a3d7e8e Reviewed-on: https://go-review.googlesource.com/124917 Reviewed-by: Andrew Bonventre --- diff --git a/doc/go1.11.html b/doc/go1.11.html index 3be9c40fc2..0266efa386 100644 --- a/doc/go1.11.html +++ b/doc/go1.11.html @@ -815,12 +815,6 @@ for k := range m { {{"{{"}} end {{"}}"}} v: {{"{{"}} $v {{"}}"}} {{"{{"}}/* "changed" */{{"}}"}} -

- This required backwards-incompatible changes to the text/template/parse - package, but was deemed acceptable since the package's documentation clearly states - that it isn't intended for general use. -

-

In previous versions untyped nil values passed to template functions were ignored. They are now passed as normal