[FIR] KT-54410: Report API_NOT_AVAILABLE for classifiers
Callable symbols with SinceKotlin are filtered out by a resolution stage, but in K1 classifiers and property accessors report API_NOT_AVAILABLE. K2 filters out properties with unavailable accessors, but does nothing for classifiers. This change fixes it. ^KT-54410 Fixed
This commit is contained in:
committed by
Space Team
parent
fd52cc4224
commit
9be819087a
+6
@@ -35445,6 +35445,12 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/jvmFieldAndJavaGetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt54410.kt")
|
||||
public void testKt54410() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/kt54410.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt8050.kt")
|
||||
public void testKt8050() throws Exception {
|
||||
|
||||
+6
@@ -35349,6 +35349,12 @@ public class FirOldFrontendDiagnosticsWithLightTreeTestGenerated extends Abstrac
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/jvmFieldAndJavaGetter.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt54410.kt")
|
||||
public void testKt54410() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/testsWithStdLib/kt54410.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt8050.kt")
|
||||
public void testKt8050() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user