[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
+10
@@ -1268,6 +1268,11 @@ public class KlibIrTextTestCaseGenerated extends AbstractKlibIrTextTestCase {
|
||||
runTest("compiler/testData/ir/irText/expressions/genericPropertyRef.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("genericReceiverOnExtensionWithSmartcast.kt")
|
||||
public void testGenericReceiverOnExtensionWithSmartcast() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/expressions/genericReceiverOnExtensionWithSmartcast.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("identity.kt")
|
||||
public void testIdentity() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/expressions/identity.kt");
|
||||
@@ -1308,6 +1313,11 @@ public class KlibIrTextTestCaseGenerated extends AbstractKlibIrTextTestCase {
|
||||
runTest("compiler/testData/ir/irText/expressions/interfaceThisRef.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("intersectedSmartcastForExtensionReceiverWithSameConstructor.kt")
|
||||
public void testIntersectedSmartcastForExtensionReceiverWithSameConstructor() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/expressions/intersectedSmartcastForExtensionReceiverWithSameConstructor.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt16905.kt")
|
||||
public void testKt16905() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/expressions/kt16905.kt");
|
||||
|
||||
Reference in New Issue
Block a user