[FIR] Add PLATFORM_CLASS_MAPPED_TO_KOTLIN
This commit is contained in:
committed by
TeamCityServer
parent
51b73bb6ae
commit
f046f2964b
Vendored
+2
-1
@@ -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) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user