[AA] support qualified type in incomplete code

^ KTIJ-24373
when resolving selector expr of a dot qualified expression,
parent qualified expression is resolved
see `KtFirCallResolver.getContainingDotQualifiedExpressionForSelectorExpression`,
Fir is filled with the data. Then,
during final mapping from Fir -> psi, one need to perform the opposite:
take `selectionExpression` to get the initial KtCallExpression
This commit is contained in:
Anna Kozlova
2023-01-24 10:39:25 +01:00
committed by teamcity
parent 92d39f0b1d
commit fd52cc4224
7 changed files with 39 additions and 6 deletions
@@ -917,6 +917,12 @@ public class FirStandaloneNormalAnalysisSourceModuleResolveCallTestGenerated ext
runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/invalidCode/incompleteCodeNoParenthesis.kt");
}
@Test
@TestMetadata("incompleteCodeNoParenthesisDotQualifier.kt")
public void testIncompleteCodeNoParenthesisDotQualifier() throws Exception {
runTest("analysis/analysis-api/testData/components/callResolver/resolveCall/invalidCode/incompleteCodeNoParenthesisDotQualifier.kt");
}
@Test
@TestMetadata("incompleteCodeWithAmbiguity.kt")
public void testIncompleteCodeWithAmbiguity() throws Exception {