Introduce EXPERIMENTAL_ANNOTATION_WITH_WRONG_RETENTION diagnostic

#KT-22941 Fixed
This commit is contained in:
Mikhail Glukhikh
2021-05-19 14:52:53 +03:00
committed by teamcityserver
parent 7393465696
commit d8d38862d9
77 changed files with 169 additions and 50 deletions
@@ -34327,6 +34327,12 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
runTest("compiler/testData/diagnostics/testsWithStdLib/experimental/incorrectUseExperimental.kt");
}
@Test
@TestMetadata("noRetentionAfter.kt")
public void testNoRetentionAfter() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/experimental/noRetentionAfter.kt");
}
@Test
@TestMetadata("override.kt")
public void testOverride() throws Exception {
@@ -34327,6 +34327,12 @@ public class FirOldFrontendDiagnosticsWithLightTreeTestGenerated extends Abstrac
runTest("compiler/testData/diagnostics/testsWithStdLib/experimental/incorrectUseExperimental.kt");
}
@Test
@TestMetadata("noRetentionAfter.kt")
public void testNoRetentionAfter() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/experimental/noRetentionAfter.kt");
}
@Test
@TestMetadata("override.kt")
public void testOverride() throws Exception {