effekt icon indicating copy to clipboard operation
effekt copied to clipboard

Escaping newlines in single-line strings

Open jiribenes opened this issue 3 months ago • 0 comments

Continuing the discussion from #410, do we actually want to be able to escape newlines like this:

val myString = "let's say I want to \
continue on the other line"      // ^ escapes a newline

// ~> myString = "let's say I want to continue on the other line"

Personally, I'm completely fine to forbid this, especially since we have multiple-line strings as of #410.

jiribenes avatar Mar 22 '24 10:03 jiribenes