[Analysis API] Fix Unexpected FirClassLikeSymbol null for class org.jetbrains.kotlin.fir.types.ConeClassLikeErrorLookupTag exception

on calling `asPsiType` on an unresolved type with type arguments

 ^KT-65550 fixed
This commit is contained in:
Ilya Kirillov
2024-02-05 14:52:17 +01:00
committed by Space Team
parent 50d526fe91
commit d925d3be76
6 changed files with 123 additions and 0 deletions
@@ -64,6 +64,12 @@ public class FirStandaloneNormalAnalysisSourceModuleAnalysisApiExpressionPsiType
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/class_object_constructor.kt");
}
@Test
@TestMetadata("errorType.kt")
public void testErrorType() throws Exception {
runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forExpression/errorType.kt");
}
@Test
@TestMetadata("KTIJ25461.kt")
public void testKTIJ25461() throws Exception {