K2: Support Unit-typed synthetic Java property
^KT-57979 Fixed
This commit is contained in:
committed by
Space Team
parent
c022c451a4
commit
e95b8b843b
+6
@@ -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 {
|
||||
|
||||
+6
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user