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: break/continue require no whitespace around them [1.18 backport] #52878

Open
gopherbot opened this issue May 12, 2022 · 1 comment
Open
Labels
CherryPickCandidate
Milestone

Comments

@gopherbot
Copy link

@gopherbot gopherbot commented May 12, 2022

@ianlancetaylor requested issue #51670 to be considered for backport to the next 1.18 minor release.

@gopherbot Please open a backport to 1.18.

These new text/template features are new in the 1.18 release, but they have a oddity in that don't permit whitespace. It's probably worth fixing that in 1.18 so that they people don't have to slightly contort their new code until 1.19 comes out.

@gopherbot gopherbot added the CherryPickCandidate label May 12, 2022
@gopherbot gopherbot added this to the Go1.18.3 milestone May 12, 2022
@gopherbot
Copy link
Author

@gopherbot gopherbot commented May 12, 2022

Change https://go.dev/cl/406074 mentions this issue: [release-branch.go1.18] text/template/parse: allow space after continue or break

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CherryPickCandidate
Projects
None yet
Development

No branches or pull requests

1 participant