effekt
effekt copied to clipboard
Escaping newlines in single-line strings
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.
Additional comment: If we want this, this is broken on Windows (see #442).
This was resolved by the new lexer #435, such strings are no longer supported.