[FIR] Don't generate synthetic declarations from java records from binary dependencies

^KT-56548 Fixed
This commit is contained in:
Dmitriy Novozhilov
2023-02-20 12:56:36 +02:00
committed by Space Team
parent 244dbb37cf
commit f836d16dc6
4 changed files with 37 additions and 1 deletions
@@ -340,6 +340,12 @@ public class IrBlackBoxModernJdkCodegenTestGenerated extends AbstractIrBlackBoxC
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/boxModernJdk/testsWithJava17/records"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JVM_IR, true);
}
@Test
@TestMetadata("binaryRecord.kt")
public void testBinaryRecord() throws Exception {
runTest("compiler/testData/codegen/boxModernJdk/testsWithJava17/records/binaryRecord.kt");
}
@Test
@TestMetadata("bytecodeShapeForJava.kt")
public void testBytecodeShapeForJava() throws Exception {