[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:
committed by
Space Team
parent
6afe716238
commit
b9b15cba08
+6
@@ -1878,6 +1878,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
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 {
|
||||
|
||||
+6
@@ -1884,6 +1884,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user