AA FIR: handle smartcasted arg when building call's argument mapping
^KTIJ-25112 Fixed
This commit is contained in:
committed by
Ilya Kirillov
parent
86540bdbb4
commit
fbe558a0de
+10
@@ -0,0 +1,10 @@
|
||||
open class A
|
||||
class B : A()
|
||||
|
||||
private fun processB(b: B): Int = 2
|
||||
|
||||
fun test(a: A) {
|
||||
if (a is B) {
|
||||
<expr>processB(a)</expr>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user