FIR: don't report EQUALITY_NOT_APPLICABLE for classes from java.*

Workaround for KT-48113
This commit is contained in:
Mikhail Glukhikh
2021-08-10 21:48:47 +03:00
parent b617aca8ee
commit 73a8b4544a
6 changed files with 37 additions and 4 deletions
@@ -0,0 +1,5 @@
// FULL_JDK
fun collapse(path: String) {
val result = (path as java.lang.String).replace("123", "456")
if (<!EQUALITY_NOT_APPLICABLE_WARNING!>result !== path<!>) {}
}