[Test] Write reproducer test for expect-actual matching to Java field

..., which comes from super class, which incorrectly works in K2.

^KT-63624
This commit is contained in:
Roman Efremov
2024-01-16 17:59:36 +01:00
committed by Space Team
parent bb044bb57e
commit 3d2a37ee41
7 changed files with 86 additions and 0 deletions
@@ -26551,6 +26551,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/multiplatform/java/propertyAgainstFakeOverrideInJava.kt");
}
@Test
@TestMetadata("propertyAgainstFakeOverrideOfJavaField.kt")
public void testPropertyAgainstFakeOverrideOfJavaField() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/java/propertyAgainstFakeOverrideOfJavaField.kt");
}
@Test
@TestMetadata("propertyAgainstJavaMethod.kt")
public void testPropertyAgainstJavaMethod() throws Exception {
@@ -26551,6 +26551,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/multiplatform/java/propertyAgainstFakeOverrideInJava.kt");
}
@Test
@TestMetadata("propertyAgainstFakeOverrideOfJavaField.kt")
public void testPropertyAgainstFakeOverrideOfJavaField() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/java/propertyAgainstFakeOverrideOfJavaField.kt");
}
@Test
@TestMetadata("propertyAgainstJavaMethod.kt")
public void testPropertyAgainstJavaMethod() throws Exception {