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
package main
func main() {
/* println("*/") */ error: newline in string
}
adonovan
changed the title
text/template: Annotation parsing error, annotation symbols within the string should not be parsed
text/template: quoted "*/" within a /*...*/ comment terminates the comment
Nov 15, 2024
Parsing this string with text/template gives an error:
Go version
go version go1.23.2 darwin/arm64
Output of
go env
in your module/workspace:What did you do?
https://go.dev/play/p/-jIq4rJbRfG
What did you see happen?
What did you expect to see?
except no error
The text was updated successfully, but these errors were encountered: