KT-55288: Add diagnostics test showing that issue is fixed in K2

^KT-55288: Fixed
This commit is contained in:
Stanislav Ruban
2023-01-03 19:14:39 +02:00
committed by Space Team
parent 0f179e8949
commit 965015bb1e
6 changed files with 58 additions and 0 deletions
@@ -1098,6 +1098,12 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
runTest("compiler/testData/diagnostics/tests/annotations/AnnotatedLoop.kt");
}
@Test
@TestMetadata("AnnotatedNullableTypes.kt")
public void testAnnotatedNullableTypes() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/AnnotatedNullableTypes.kt");
}
@Test
@TestMetadata("AnnotatedResultType.kt")
public void testAnnotatedResultType() throws Exception {
@@ -1098,6 +1098,12 @@ public class FirOldFrontendDiagnosticsWithLightTreeTestGenerated extends Abstrac
runTest("compiler/testData/diagnostics/tests/annotations/AnnotatedLoop.kt");
}
@Test
@TestMetadata("AnnotatedNullableTypes.kt")
public void testAnnotatedNullableTypes() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/AnnotatedNullableTypes.kt");
}
@Test
@TestMetadata("AnnotatedResultType.kt")
public void testAnnotatedResultType() throws Exception {