[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:
+6
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user