[AA FIR] correctly restore declaration with annotation with argument inside some type from symbol pointer

ConeAttributes can have some non-stable info, so we shouldn't render it

Also reduce resolve from IMPLICIT_TYPES_BODY_RESOLVE to TYPES where it is possible

^KT-58141 Fixed
This commit is contained in:
Dmitrii Gridin
2023-04-20 17:43:37 +02:00
committed by Space Team
parent 866e8a26c7
commit 6b3e49e824
9 changed files with 92 additions and 7 deletions
@@ -118,6 +118,12 @@ public class Fe10IdeNormalAnalysisSourceModuleSingleSymbolByPsiGenerated extends
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/setterWithAnnotations.kt");
}
@Test
@TestMetadata("typeAnnotationWithArgument.kt")
public void testTypeAnnotationWithArgument() throws Exception {
runTest("analysis/analysis-api/testData/symbols/singleSymbolByPsi/typeAnnotationWithArgument.kt");
}
@Test
@TestMetadata("typeAnnotationsOnFunctionParameterType.kt")
public void testTypeAnnotationsOnFunctionParameterType() throws Exception {