[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
@@ -35607,6 +35607,18 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
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 {
@@ -35607,6 +35607,18 @@ public class FirJsES6CodegenBoxTestGenerated extends AbstractFirJsES6CodegenBoxT
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 {
@@ -35607,6 +35607,18 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
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 {
@@ -35607,6 +35607,18 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
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 {