[AA] resolve array access expression to corresponding set operator

k1 would suggest `get` as well
 but with current fir structure with fake desugaring
 get is moved to the separate fake psi which doesn't exist
 thus the problem is ignored for now
 ^ KTIJ-24025
This commit is contained in:
Anna Kozlova
2022-12-19 23:18:33 +01:00
committed by teamcity
parent c44993e586
commit b81c210535
14 changed files with 116 additions and 4 deletions
@@ -661,6 +661,12 @@ public class Fe10IdeNormalAnalysisSourceModuleReferenceResolveTestGenerated exte
runTest("analysis/analysis-api/testData/referenceResolve/arrayAccess/setOperator.kt");
}
@Test
@TestMetadata("SetOperatorInc.kt")
public void testSetOperatorInc() throws Exception {
runTest("analysis/analysis-api/testData/referenceResolve/arrayAccess/SetOperatorInc.kt");
}
@Nested
@TestMetadata("analysis/analysis-api/testData/referenceResolve/arrayAccess/withErrors")
@TestDataPath("$PROJECT_ROOT")
@@ -681,6 +687,12 @@ public class Fe10IdeNormalAnalysisSourceModuleReferenceResolveTestGenerated exte
public void testSetFunction() throws Exception {
runTest("analysis/analysis-api/testData/referenceResolve/arrayAccess/withErrors/setFunction.kt");
}
@Test
@TestMetadata("SetOperatorInc.kt")
public void testSetOperatorInc() throws Exception {
runTest("analysis/analysis-api/testData/referenceResolve/arrayAccess/withErrors/SetOperatorInc.kt");
}
}
}