[FIR] Rewind DFA after call arguments for correct receiver smartcasting

^KT-63709 Fixed
This commit is contained in:
Brian Norman
2023-11-27 13:48:09 -06:00
committed by Space Team
parent 38d5e56530
commit 0881910a1b
128 changed files with 22457 additions and 16148 deletions
@@ -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 {
@@ -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 {
@@ -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 {
@@ -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 {