[FIR] Use enhanced scope to guess array type in annotation loading

Otherwise, we return null for any java annotation because the
unenhanced scope doesn't contain any properties.

#KT-61856 Fixed
This commit is contained in:
Kirill Rakhman
2023-09-19 11:15:45 +02:00
committed by Space Team
parent c4da53475e
commit 2e4d486131
8 changed files with 85 additions and 2 deletions
@@ -15866,6 +15866,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/fir/KotlinDocumentationProvider.kt");
}
@TestMetadata("kt61856.kt")
public void testKt61856() throws Exception {
runTest("compiler/testData/codegen/box/fir/kt61856.kt");
}
@TestMetadata("linkViaSignatures.kt")
public void testLinkViaSignatures() throws Exception {
runTest("compiler/testData/codegen/box/fir/linkViaSignatures.kt");