[K2] Warn about deprecation and opt-in markers for overrides of Any

^KT-62620 Fixed

Include opt-in markers in the diagnostics
This commit is contained in:
Alejandro Serrano Mena
2023-10-16 16:00:40 +02:00
committed by Space Team
parent 6afe716238
commit b9b15cba08
17 changed files with 300 additions and 1 deletions
@@ -1884,6 +1884,12 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest {
runTest("compiler/testData/diagnostics/tests/annotations/Deprecated.kt");
}
@Test
@TestMetadata("DeprecationOnAny.kt")
public void testDeprecationOnAny() throws Exception {
runTest("compiler/testData/diagnostics/tests/annotations/DeprecationOnAny.kt");
}
@Test
@TestMetadata("dontReportWarningAboutChangingExecutionOrderForVararg.kt")
public void testDontReportWarningAboutChangingExecutionOrderForVararg() throws Exception {