]> Cypherpunks.ru repositories - gostls13.git/commit
[release-branch.go1.20] text/template: set variables correctly in range assignment
authorIan Lance Taylor <iant@golang.org>
Wed, 14 Jun 2023 23:17:31 +0000 (16:17 -0700)
committerIan Lance Taylor <iant@google.com>
Wed, 21 Jun 2023 16:11:26 +0000 (16:11 +0000)
commit03063101a2b40e78a44bdc1da84900d41a49a3ec
treedb58c57895667978244f699f7f23d0b2d9e1d090
parentd51e322a3f98e8ceddfd203afcbf0144121d5cc1
[release-branch.go1.20] text/template: set variables correctly in range assignment

I unintentionally flipped them in CL 446795.

For #56490
For #60801
Fixes #60802

Change-Id: I57586bec052e1b2cc61513870ce24dd6ce17e56b
Reviewed-on: https://go-review.googlesource.com/c/go/+/503576
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
src/text/template/exec.go
src/text/template/exec_test.go