mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-25 20:40:15 +01:00
This is based on discussion on #732: that we should probably parse the invalid whitespace, then reject it as part of string validation, rather than having different parses. I worry the question of "how is this parsed" may lead to subtly unexpected results if we aren't consistent, so I'm switching the logic from the lexer to the unescape library (and also adjusting the list of rejected whitespace).
3 lines
126 B
Plaintext
3 lines
126 B
Plaintext
COMPILATION ERROR: executable_semantics/testdata/string_fail6.carbon:6: Invalid escaping in string: "new line"
|
|
EXIT CODE: 255
|