K2: generate Unit conversion for indexed assignment at raw FIR stage

#KT-59748 Fixed
This commit is contained in:
Mikhail Glukhikh
2023-07-24 22:11:30 +02:00
committed by Space Team
parent 1832413a02
commit f20e2dec31
33 changed files with 160 additions and 16 deletions
@@ -14785,6 +14785,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
runTest("compiler/testData/codegen/box/fir/falsePositiveBoundSmartcast.kt");
}
@Test
@TestMetadata("listAssignmentInWhen.kt")
public void testListAssignmentInWhen() throws Exception {
runTest("compiler/testData/codegen/box/fir/listAssignmentInWhen.kt");
}
@Test
@TestMetadata("localInvokeExtension.kt")
public void testLocalInvokeExtension() throws Exception {
@@ -15133,6 +15133,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
runTest("compiler/testData/codegen/box/fir/falsePositiveBoundSmartcast.kt");
}
@Test
@TestMetadata("listAssignmentInWhen.kt")
public void testListAssignmentInWhen() throws Exception {
runTest("compiler/testData/codegen/box/fir/listAssignmentInWhen.kt");
}
@Test
@TestMetadata("localInvokeExtension.kt")
public void testLocalInvokeExtension() throws Exception {
@@ -14612,6 +14612,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
runTest("compiler/testData/codegen/box/fir/falsePositiveBoundSmartcast.kt");
}
@Test
@TestMetadata("listAssignmentInWhen.kt")
public void testListAssignmentInWhen() throws Exception {
runTest("compiler/testData/codegen/box/fir/listAssignmentInWhen.kt");
}
@Test
@TestMetadata("localInvokeExtension.kt")
public void testLocalInvokeExtension() throws Exception {
@@ -14786,6 +14786,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
runTest("compiler/testData/codegen/box/fir/falsePositiveBoundSmartcast.kt");
}
@Test
@TestMetadata("listAssignmentInWhen.kt")
public void testListAssignmentInWhen() throws Exception {
runTest("compiler/testData/codegen/box/fir/listAssignmentInWhen.kt");
}
@Test
@TestMetadata("localInvokeExtension.kt")
public void testLocalInvokeExtension() throws Exception {