[FIR] FirJavaFacade: fix contract violation from annotations
`isJavaDeprecatedAnnotation` can't be used here because it triggers the resolution of an annotation ClassId ^KT-62705 Fixed
This commit is contained in:
committed by
Space Team
parent
931c2ce47a
commit
d689c1a38f
+6
@@ -1884,6 +1884,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/annotations/Deprecated.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("DeprecatedInJavaDoc.kt")
|
||||
public void testDeprecatedInJavaDoc() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/annotations/DeprecatedInJavaDoc.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("DeprecationOnAny.kt")
|
||||
public void testDeprecationOnAny() throws Exception {
|
||||
|
||||
+6
@@ -1884,6 +1884,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/annotations/Deprecated.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("DeprecatedInJavaDoc.kt")
|
||||
public void testDeprecatedInJavaDoc() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/annotations/DeprecatedInJavaDoc.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("DeprecationOnAny.kt")
|
||||
public void testDeprecationOnAny() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user