Open clearcodecn opened 4 hours ago
Related Issues
(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)
Is this actually a bug? The Go scanner works in the exact same way: https://go.dev/play/p/PCwzdxqPyD9
package main
func main() {
/* println("*/") */ error: newline in string
}
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