[FIR] Check compatibility of equality call between IT by component of each type

^KT-48113 Fixed
This commit is contained in:
Dmitriy Novozhilov
2021-08-27 11:00:32 +03:00
committed by TeamCityServer
parent 5bdfa14a37
commit 67dd23354c
2 changed files with 9 additions and 11 deletions
@@ -1,5 +1,7 @@
// FULL_JDK
// ISSUE: KT-48113
fun collapse(path: String) {
val result = (path as java.lang.String).replace("123", "456")
if (<!EQUALITY_NOT_APPLICABLE_WARNING!>result !== path<!>) {}
}
if (result !== path) {}
}