Report warning on characters which can cause problems on Windows

As soon as we fix KT-17438, this warning will be turned into an error.
This commit is contained in:
Alexander Udalov
2020-06-30 17:17:37 +02:00
parent 181965f6e8
commit ba948cda38
9 changed files with 102 additions and 8 deletions
@@ -0,0 +1,12 @@
class <!DANGEROUS_CHARACTERS!>`A?B`<!>
class <!DANGEROUS_CHARACTERS!>`A*B`<!>
class <!DANGEROUS_CHARACTERS!>`A"B`<!>
class <!DANGEROUS_CHARACTERS!>`A|B`<!>
class <!DANGEROUS_CHARACTERS!>`A%B`<!>
fun <!DANGEROUS_CHARACTERS!>`?*"|%`<!>(): Int {
val <!DANGEROUS_CHARACTERS!>`?`<!> = 0
return `?`
}
val <!DANGEROUS_CHARACTERS!>`"a"+"b"`<!> = "c"