Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

text/template: key/value assignment is reversed within range loop [1.20 backport] #60802

Closed
gopherbot opened this issue Jun 14, 2023 · 2 comments
Labels
CherryPickApproved Used during the release process for point releases FrozenDueToAge
Milestone

Comments

@gopherbot
Copy link
Contributor

gopherbot commented Jun 14, 2023

@ianlancetaylor requested issue #60801 to be considered for backport to the next 1.20 minor release.

@gopherbot Please open backport to 1.20.

This is a regression since previous versions.

@gopherbot gopherbot added the CherryPickCandidate Used during the release process for point releases label Jun 14, 2023
@gopherbot gopherbot added this to the Go1.20.6 milestone Jun 14, 2023
@gopherbot
Copy link
Contributor Author

Change https://go.dev/cl/503576 mentions this issue: [release-branch.go1.20] text/template: set variables correctly in range assignment

@dmitshur dmitshur added CherryPickApproved Used during the release process for point releases and removed CherryPickCandidate Used during the release process for point releases labels Jun 21, 2023
@gopherbot
Copy link
Contributor Author

Closed by merging 0306310 to release-branch.go1.20.

gopherbot pushed a commit that referenced this issue Jun 21, 2023
…ge 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>
@golang golang locked and limited conversation to collaborators Jun 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CherryPickApproved Used during the release process for point releases FrozenDueToAge
Projects
None yet
Development

No branches or pull requests

2 participants