[FE 1.0] Don't report OVERRIDE_DEPRECATION on default accessors of deprecated properties

^KT-51893 Fixed
This commit is contained in:
Dmitriy Novozhilov
2022-04-15 10:28:45 +04:00
committed by teamcity
parent 3f93f2796d
commit 989cef6c3c
7 changed files with 100 additions and 0 deletions
@@ -8892,6 +8892,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/deprecated/deprecatedPropertyInheritance_before.kt");
}
@Test
@TestMetadata("duplicatedOverrideDeprecationOnProperty.kt")
public void testDuplicatedOverrideDeprecationOnProperty() throws Exception {
runTest("compiler/testData/diagnostics/tests/deprecated/duplicatedOverrideDeprecationOnProperty.kt");
}
@Test
@TestMetadata("functionUsage.kt")
public void testFunctionUsage() throws Exception {