K2: Support Unit-typed synthetic Java property

^KT-57979 Fixed
This commit is contained in:
Denis.Zharkov
2023-04-28 19:50:35 +02:00
committed by Space Team
parent c022c451a4
commit e95b8b843b
8 changed files with 127 additions and 4 deletions
@@ -20213,6 +20213,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/j+k/properties/staticFieldPropertyOverloads.kt");
}
@Test
@TestMetadata("unitVsVoid.kt")
public void testUnitVsVoid() throws Exception {
runTest("compiler/testData/diagnostics/tests/j+k/properties/unitVsVoid.kt");
}
@Test
@TestMetadata("val.kt")
public void testVal() throws Exception {
@@ -20213,6 +20213,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/j+k/properties/staticFieldPropertyOverloads.kt");
}
@Test
@TestMetadata("unitVsVoid.kt")
public void testUnitVsVoid() throws Exception {
runTest("compiler/testData/diagnostics/tests/j+k/properties/unitVsVoid.kt");
}
@Test
@TestMetadata("val.kt")
public void testVal() throws Exception {