[FE 1.0] Report WRONG_ANNOTATION_TARGET on annotations on type arguments

^KT-47772 Fixed
This commit is contained in:
Dmitriy Novozhilov
2021-07-19 11:09:02 +03:00
committed by teamcityserver
parent 046d886850
commit c304363aea
7 changed files with 68 additions and 0 deletions
@@ -2136,6 +2136,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/annotations/typeUse/kt46173.kt");
}
@Test
@TestMetadata("kt47772.kt")
public void testKt47772() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/typeUse/kt47772.kt");
}
@Test
@TestMetadata("kt8325.kt")
public void testKt8325() throws Exception {