Report error instead of warning for deprecation level HIDDEN
Since functions usually are hidden from resolution when they are deprecated-hidden, the problem can only be reproduced for properties with deprecated-hidden accessors, where DeprecatedCallChecker reported warnings instead of errors
This commit is contained in:
@@ -5952,6 +5952,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("hiddenPropertyAccessors.kt")
|
||||
public void testHiddenPropertyAccessors() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/deprecated/hiddenPropertyAccessors.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("importJavaSamInterface.kt")
|
||||
public void testImportJavaSamInterface() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/deprecated/importJavaSamInterface.kt");
|
||||
|
||||
Reference in New Issue
Block a user