Support class type parameters annotation checking

This commit is contained in:
Mikhael Bogdanov
2021-05-27 10:55:07 +02:00
parent a8186d19d6
commit b72aa76415
13 changed files with 211 additions and 9 deletions
@@ -1001,6 +1001,12 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
runTest("compiler/testData/diagnostics/tests/annotations/AnnotationForClassTypeParameter_16.kt");
}
@Test
@TestMetadata("AnnotationForClassTypeParameter_typeUseFlag.kt")
public void testAnnotationForClassTypeParameter_typeUseFlag() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/AnnotationForClassTypeParameter_typeUseFlag.kt");
}
@Test
@TestMetadata("AnnotationForFunctionTypeParameter.kt")
public void testAnnotationForFunctionTypeParameter() throws Exception {
@@ -1001,6 +1001,12 @@ public class FirOldFrontendDiagnosticsWithLightTreeTestGenerated extends Abstrac
runTest("compiler/testData/diagnostics/tests/annotations/AnnotationForClassTypeParameter_16.kt");
}
@Test
@TestMetadata("AnnotationForClassTypeParameter_typeUseFlag.kt")
public void testAnnotationForClassTypeParameter_typeUseFlag() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/AnnotationForClassTypeParameter_typeUseFlag.kt");
}
@Test
@TestMetadata("AnnotationForFunctionTypeParameter.kt")
public void testAnnotationForFunctionTypeParameter() throws Exception {