[FIR] Fix WRONG_ANNOTATION_TARGET for annotation for block, ^KT-52175 Fixed

This commit is contained in:
Ivan Kochurkin
2022-05-31 22:32:15 +03:00
committed by teamcity
parent b573532d8c
commit 34b5ce21a1
8 changed files with 75 additions and 1 deletions
@@ -996,6 +996,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/annotations/AmbigiousAnnotationConstructor.kt");
}
@Test
@TestMetadata("AnnotatedBlock.kt")
public void testAnnotatedBlock() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/AnnotatedBlock.kt");
}
@Test
@TestMetadata("AnnotatedConstructor.kt")
public void testAnnotatedConstructor() throws Exception {