-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
html/template: jstmpllitinterp godebug documented but a no-op? #66217
Comments
Change https://go.dev/cl/570275 mentions this issue: |
A few recent godebugs are missing IncNonDefault uses. Test for that, so that people remember to do it. Filed bugs for the missing ones. For #66215. For #66216. For #66217. Change-Id: Ia3fd10fd108e1b003bb30a8bc2f83995c768fab6 Reviewed-on: https://go-review.googlesource.com/c/go/+/570275 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Damien Neil <dneil@google.com>
This issue was reviewed in the release meeting. Is the documentation change the only remaining item for this issue? |
Yes, the only remaining change is the documentation one, I'll try to get this out this week. |
@rolandshoemaker this is a release blocker. Any update on this? Thanks. |
Change https://go.dev/cl/584117 mentions this issue: |
@rolandshoemaker Is there is status update on this issue? There is a CL that has been reviewed. This came up in the release meeting. |
@cagedmantis sorry keep completely forgetting about this, submitted. |
There is a new jstmpllitinterp godebug but the corresponding monitoring
is missing. jstmpllitinterp.IncNonDefault needs to be called when
program behavior changes from the default due to an override godebug
setting. And not just whenever it is set, but whenever the setting
actually changes the program behavior, so only if a template literal
is accepted when it would normally be rejected.
See 'go doc internal/godebug' for more details.
All that said, it looks like jstmpllitinterp is completely ignored now?
If so, the package docs should be updated, since they say it has an effect.
Also the doc/godebug.md docs should be updated.
/cc @rolandshoemaker
The text was updated successfully, but these errors were encountered: