[FIR2IR] Properly insert implicit casts to extension receiver in case of intersection smartcast type
^KT-62863 Fixed
This commit is contained in:
committed by
Space Team
parent
50106c740c
commit
420fbad73d
+2
-2
@@ -19,6 +19,6 @@ fun test(x: I1) {
|
||||
x !is I2 -> return Unit
|
||||
}
|
||||
val tmp_0: I1 = x /*as Any */
|
||||
val c1: Int = tmp_0 /*as Any */.component1()
|
||||
val c2: String = tmp_0 /*as Any */.component2()
|
||||
val c1: Int = tmp_0.component1()
|
||||
val c2: String = tmp_0 /*as I2 */.component2()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user