[FIR] Rewind DFA after call arguments for correct receiver smartcasting
^KT-63709 Fixed
This commit is contained in:
+12
@@ -39302,6 +39302,18 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
||||
runTest("compiler/testData/codegen/box/smartCasts/implicitToGrandSon.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("invokeRecieverSmartcastK1.kt")
|
||||
public void testInvokeRecieverSmartcastK1() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/smartCasts/invokeRecieverSmartcastK1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("invokeRecieverSmartcastK2.kt")
|
||||
public void testInvokeRecieverSmartcastK2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/smartCasts/invokeRecieverSmartcastK2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt17725.kt")
|
||||
public void testKt17725() throws Exception {
|
||||
|
||||
+12
@@ -40306,6 +40306,18 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
||||
runTest("compiler/testData/codegen/box/smartCasts/implicitToGrandSon.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("invokeRecieverSmartcastK1.kt")
|
||||
public void testInvokeRecieverSmartcastK1() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/smartCasts/invokeRecieverSmartcastK1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("invokeRecieverSmartcastK2.kt")
|
||||
public void testInvokeRecieverSmartcastK2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/smartCasts/invokeRecieverSmartcastK2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt17725.kt")
|
||||
public void testKt17725() throws Exception {
|
||||
|
||||
+12
@@ -38298,6 +38298,18 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
|
||||
runTest("compiler/testData/codegen/box/smartCasts/implicitToGrandSon.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("invokeRecieverSmartcastK1.kt")
|
||||
public void testInvokeRecieverSmartcastK1() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/smartCasts/invokeRecieverSmartcastK1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("invokeRecieverSmartcastK2.kt")
|
||||
public void testInvokeRecieverSmartcastK2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/smartCasts/invokeRecieverSmartcastK2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt17725.kt")
|
||||
public void testKt17725() throws Exception {
|
||||
|
||||
+12
@@ -39303,6 +39303,18 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
|
||||
runTest("compiler/testData/codegen/box/smartCasts/implicitToGrandSon.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("invokeRecieverSmartcastK1.kt")
|
||||
public void testInvokeRecieverSmartcastK1() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/smartCasts/invokeRecieverSmartcastK1.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("invokeRecieverSmartcastK2.kt")
|
||||
public void testInvokeRecieverSmartcastK2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/smartCasts/invokeRecieverSmartcastK2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt17725.kt")
|
||||
public void testKt17725() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user