Psi2IR: workaround for IR-based descriptors
Since KotlinTypes involving IR-Based descriptors are distinct from KotlinTypes involving original descriptors of the same declarations, subtyping check breaks in InsertImplicitCasts.
This commit is contained in:
+2
-2
@@ -157,7 +157,7 @@ fun testSmartCastWithSuspendConversion(a: Any) {
|
||||
callee.invoke()
|
||||
}
|
||||
|
||||
a::suspendConversion0
|
||||
a /*as Function0<Unit> */::suspendConversion0
|
||||
})
|
||||
}
|
||||
|
||||
@@ -169,7 +169,7 @@ fun testSmartCastOnVarWithSuspendConversion(a: Any) {
|
||||
callee.invoke()
|
||||
}
|
||||
|
||||
b::suspendConversion0
|
||||
b /*as Function0<Unit> */::suspendConversion0
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user