Detect escaped backslashes
#KT-15761 Fixed
This commit is contained in:
committed by
Simon Ogorodnik
parent
9c4f897d31
commit
31478f8efa
@@ -0,0 +1,8 @@
|
||||
public class A {
|
||||
private String s1 = "\1";
|
||||
private String s2 = "\\1";
|
||||
private String s3 = "\\\1";
|
||||
private String s4 = "\\\\1";
|
||||
private String s5 = "\\\\\1";
|
||||
private String s6 = "\1\1";
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
class A {
|
||||
private val s1 = "\u0001"
|
||||
private val s2 = "\\1"
|
||||
private val s3 = "\\\u0001"
|
||||
private val s4 = "\\\\1"
|
||||
private val s5 = "\\\\\u0001"
|
||||
private val s6 = "\u0001\u0001"
|
||||
}
|
||||
Reference in New Issue
Block a user