[MPP] Add test for KT-42754

This commit is contained in:
Pavel Kirpichenkov
2020-11-03 18:34:06 +03:00
parent 9f0cec3443
commit 778bbd76cb
5 changed files with 31 additions and 0 deletions
@@ -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()
}
}