[FIR] add diagnostic test for annotations inside type parameters

^KT-63396
This commit is contained in:
Dmitrii Gridin
2023-11-10 17:16:12 +01:00
committed by Space Team
parent bec434d534
commit 2ee9fcab9b
13 changed files with 812 additions and 0 deletions
@@ -2190,6 +2190,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
runTest("compiler/testData/diagnostics/tests/annotations/typeArgumentsInAnnotation.kt");
}
@Test
@TestMetadata("typeParameterAnnotations.kt")
public void testTypeParameterAnnotations() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/typeParameterAnnotations.kt");
}
@Test
@TestMetadata("typeParameterAsAnnotation.kt")
public void testTypeParameterAsAnnotation() throws Exception {
@@ -2196,6 +2196,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
runTest("compiler/testData/diagnostics/tests/annotations/typeArgumentsInAnnotation.kt");
}
@Test
@TestMetadata("typeParameterAnnotations.kt")
public void testTypeParameterAnnotations() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/typeParameterAnnotations.kt");
}
@Test
@TestMetadata("typeParameterAsAnnotation.kt")
public void testTypeParameterAsAnnotation() throws Exception {