]> Cypherpunks.ru repositories - gostls13.git/commit
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)
committerGopher Robot <gobot@golang.org>
Thu, 15 Jun 2023 14:28:01 +0000 (14:28 +0000)
commitbefec5ddbbfbd81ec84e74e15a38044d67f8785b
tree5edafebd597560be442bac7094a55fea59fd8322
parentc5463218a228b082661df3f5f1ba0492a4d3df18
text/template: set variables correctly in range assignment

I unintentionally flipped them in CL 446795.

For #56490
Fixes #60801

Change-Id: I57586bec052e1b2cc61513870ce24dd6ce17e56b
Reviewed-on: https://go-review.googlesource.com/c/go/+/503575
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
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