[MPP] Add test for KT-42754
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
fun test(fromCommon: CommonDataClass, fromJvm: JvmDataClass) {
|
||||
if (fromCommon.property != null) {
|
||||
<!SMARTCAST_IMPOSSIBLE!>fromCommon.property<!>.doSomething()
|
||||
}
|
||||
|
||||
if (fromJvm.property != null) {
|
||||
<!SMARTCAST_IMPOSSIBLE!>fromJvm.property<!>.doSomething()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user