[FIR] Add PLATFORM_CLASS_MAPPED_TO_KOTLIN

This commit is contained in:
Ivan Kochurkin
2021-11-23 18:08:35 +03:00
committed by TeamCityServer
parent 51b73bb6ae
commit f046f2964b
49 changed files with 180 additions and 127 deletions
@@ -1,7 +1,8 @@
// FULL_JDK
// ISSUE: KT-48113
// WITH_EXTENDED_CHECKERS
fun collapse(path: String) {
val result = (path as java.lang.String).replace("123", "456")
val result = (path as <!PLATFORM_CLASS_MAPPED_TO_KOTLIN!>java.lang.String<!>).replace("123", "456")
if (result !== path) {}
}