[FIR2IR] Don't create f/o symbols on smartcasted Nothing in dispatch receiver

^KT-63525 Fixed
This commit is contained in:
Dmitriy Novozhilov
2024-02-27 11:06:01 +02:00
committed by Space Team
parent 62e9c944fe
commit 5c632bc78e
23 changed files with 143 additions and 1 deletions
@@ -8643,6 +8643,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/controlflow/break1.kt");
}
@Test
@TestMetadata("callOnSmarcastedNothing.kt")
public void testCallOnSmarcastedNothing() {
runTest("compiler/testData/codegen/box/controlflow/callOnSmarcastedNothing.kt");
}
@Test
@TestMetadata("for_loops.kt")
public void testFor_loops() {
@@ -8643,6 +8643,12 @@ public class FirJsES6CodegenBoxTestGenerated extends AbstractFirJsES6CodegenBoxT
runTest("compiler/testData/codegen/box/controlflow/break1.kt");
}
@Test
@TestMetadata("callOnSmarcastedNothing.kt")
public void testCallOnSmarcastedNothing() {
runTest("compiler/testData/codegen/box/controlflow/callOnSmarcastedNothing.kt");
}
@Test
@TestMetadata("for_loops.kt")
public void testFor_loops() {
@@ -8643,6 +8643,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/controlflow/break1.kt");
}
@Test
@TestMetadata("callOnSmarcastedNothing.kt")
public void testCallOnSmarcastedNothing() {
runTest("compiler/testData/codegen/box/controlflow/callOnSmarcastedNothing.kt");
}
@Test
@TestMetadata("for_loops.kt")
public void testFor_loops() {
@@ -8643,6 +8643,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
runTest("compiler/testData/codegen/box/controlflow/break1.kt");
}
@Test
@TestMetadata("callOnSmarcastedNothing.kt")
public void testCallOnSmarcastedNothing() {
runTest("compiler/testData/codegen/box/controlflow/callOnSmarcastedNothing.kt");
}
@Test
@TestMetadata("for_loops.kt")
public void testFor_loops() {