Fix "Too long character literal -> string" in ILLEGAL_ESCAPE

Related to #KT-23788
This commit is contained in:
Mikhail Glukhikh
2018-05-22 16:38:29 +03:00
parent 85cd1e938e
commit 2a9108bcd3
3 changed files with 14 additions and 1 deletions
@@ -0,0 +1,8 @@
// "Convert too long character literal to string" "false"
// ACTION: Introduce local variable
// ACTION: To raw string literal
// ERROR: Illegal escape: '\ '
fun foo() {
"\ <caret>"
}