-
Notifications
You must be signed in to change notification settings - Fork 18k
text/template: call
with no arguments after a pipe crashes the program
#70341
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
Comments
cc @Zxilly |
callthingsoff
added a commit
to callthingsoff/go
that referenced
this issue
Nov 14, 2024
Fixes golang#70341 Change-Id: I3df0175929b4aed76522ef36aecfa924f3883d9e
Change https://go.dev/cl/628095 mentions this issue: |
Change https://go.dev/cl/628096 mentions this issue: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Go version
go version go1.23.2 linux/amd64
Output of
go env
in your module/workspace:What did you do?
https://go.dev/play/p/RapayQaYsZw
What did you see happen?
What did you expect to see?
Previously it would report a normal
error calling call: non-function of type int
, but after changes in recentcommit c506f03
it tries to access
args[0]
which in this case is empty and crashes the whole program.The text was updated successfully, but these errors were encountered: