You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm opening this issue for awareness and to see if this is worthy of a back-port fix. My worry is that this was fixed accidentally somehow in some refactoring and that this issue may manifest again in the future in another change / refactoring. Since this issue does not manifest in the latest version, it may be worth just closing this issue.
What version of Go are you using (go version)?
1.18 errors,
1.19 does not.
Does this issue reproduce with the latest release?
Backports are only for serious issues with no known workaround (or security issues).
Given that this has a clear and easy fix, this doesn't appear to qualify.
I'm opening this issue for awareness and to see if this is worthy of a back-port fix. My worry is that this was fixed accidentally somehow in some refactoring and that this issue may manifest again in the future in another change / refactoring. Since this issue does not manifest in the latest version, it may be worth just closing this issue.
What version of Go are you using (
go version
)?1.18 errors,
1.19 does not.
Does this issue reproduce with the latest release?
No.
What did you do?
https://go.dev/play/p/xp70kdF4urk?v=goprev
Switching to 1.19, the program exits with no error / no output. The condition can be switched to
{{ if .Inner }}
and it works in both versions.What did you expect to see?
No error / no output.
What did you see instead?
The text was updated successfully, but these errors were encountered: