This repository was archived by the owner on Apr 22, 2020. It is now read-only.
This repository was archived by the owner on Apr 22, 2020. It is now read-only.
Open
Description
I came across this answer's code snippet. In Golang, strings enclosed in backticks are taken as a raw string. It doesn't parse for escape sequences. The code formatter erroneously colors the rest of the code as if it were in a multi-line string literal.
This is true even if you explicitly specify the language as golang. Java's formatter gets it right. Java doesn't use backtick strings so it's not a fair comparison.
Metadata
Metadata
Assignees
Labels
No labels