[FIR] Implement deprecation warning for synthetic without java base getter
Also implement new resolution behavior under language feature ^KT-63076 Fixed ^KT-64358
This commit is contained in:
committed by
Space Team
parent
d5b0a5b220
commit
fa33c5dc79
+18
@@ -22437,6 +22437,24 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/properties/syntheticPropertyFromKotlinGetter_mixedOrigin_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("syntheticPropertyFromKotlin_k1Like.kt")
|
||||
public void testSyntheticPropertyFromKotlin_k1Like() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/properties/syntheticPropertyFromKotlin_k1Like.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("syntheticPropertyFromKotlin_warning.kt")
|
||||
public void testSyntheticPropertyFromKotlin_warning() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/properties/syntheticPropertyFromKotlin_warning.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("syntheticPropertyThroughJava.kt")
|
||||
public void testSyntheticPropertyThroughJava() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/properties/syntheticPropertyThroughJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unitVsVoid.kt")
|
||||
public void testUnitVsVoid() throws Exception {
|
||||
|
||||
+18
@@ -22443,6 +22443,24 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/properties/syntheticPropertyFromKotlinGetter_mixedOrigin_2.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("syntheticPropertyFromKotlin_k1Like.kt")
|
||||
public void testSyntheticPropertyFromKotlin_k1Like() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/properties/syntheticPropertyFromKotlin_k1Like.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("syntheticPropertyFromKotlin_warning.kt")
|
||||
public void testSyntheticPropertyFromKotlin_warning() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/properties/syntheticPropertyFromKotlin_warning.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("syntheticPropertyThroughJava.kt")
|
||||
public void testSyntheticPropertyThroughJava() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/j+k/properties/syntheticPropertyThroughJava.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("unitVsVoid.kt")
|
||||
public void testUnitVsVoid() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user