[FIR] Extract LHS receiver of assignment operator statements

#KT-53490 Fixed
This commit is contained in:
Brian Norman
2023-06-30 17:13:05 +03:00
committed by Space Team
parent 14276642d4
commit 10ed26991d
45 changed files with 1894 additions and 124 deletions
@@ -29833,6 +29833,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)
public static class OperatorConventions extends AbstractLightAnalysisModeTest {
@TestMetadata("augmentedAssigmentPlusLhsCount.kt")
public void ignoreAugmentedAssigmentPlusLhsCount() throws Exception {
runTest("compiler/testData/codegen/box/operatorConventions/augmentedAssigmentPlusLhsCount.kt");
}
private void runTest(String testDataFilePath) throws Exception {
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM_IR, testDataFilePath);
}
@@ -29846,6 +29851,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/operatorConventions/annotatedAssignment.kt");
}
@TestMetadata("assignToDotQualifiedWithSideEffect.kt")
public void testAssignToDotQualifiedWithSideEffect() throws Exception {
runTest("compiler/testData/codegen/box/operatorConventions/assignToDotQualifiedWithSideEffect.kt");
}
@TestMetadata("assignmentOperations.kt")
public void testAssignmentOperations() throws Exception {
runTest("compiler/testData/codegen/box/operatorConventions/assignmentOperations.kt");
@@ -29951,6 +29961,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/operatorConventions/plusExplicit.kt");
}
@TestMetadata("reassignmentLhsCaching.kt")
public void testReassignmentLhsCaching() throws Exception {
runTest("compiler/testData/codegen/box/operatorConventions/reassignmentLhsCaching.kt");
}
@TestMetadata("remAssignmentOperation.kt")
public void testRemAssignmentOperation() throws Exception {
runTest("compiler/testData/codegen/box/operatorConventions/remAssignmentOperation.kt");