[FIR] FirJavaFacade: do not duplicate record constructor
The fresh version of intellij has all record-related declarations, so an additional fake constructor leads to errors like KTIJ-25364 (OVERLOAD_RESOLUTION_AMBIGUITY) ^KTIJ-25366 Fixed ^KTIJ-25364 Fixed ^KTIJ-25368 Fixed ^KTIJ-25370 Fixed
This commit is contained in:
committed by
Space Team
parent
97a12af03e
commit
b67b37cdb3
+12
@@ -33559,6 +33559,18 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/simpleRecords.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleRecordsDefaultConstructor.kt")
|
||||
public void testSimpleRecordsDefaultConstructor() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/simpleRecordsDefaultConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleRecordsWithSecondaryConstructor.kt")
|
||||
public void testSimpleRecordsWithSecondaryConstructor() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/simpleRecordsWithSecondaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("supertypesCheck.kt")
|
||||
public void testSupertypesCheck() throws Exception {
|
||||
|
||||
+12
@@ -33559,6 +33559,18 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/simpleRecords.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleRecordsDefaultConstructor.kt")
|
||||
public void testSimpleRecordsDefaultConstructor() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/simpleRecordsDefaultConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("simpleRecordsWithSecondaryConstructor.kt")
|
||||
public void testSimpleRecordsWithSecondaryConstructor() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/testsWithJava17/jvmRecord/simpleRecordsWithSecondaryConstructor.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("supertypesCheck.kt")
|
||||
public void testSupertypesCheck() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user