JVM: enable -Xlambdas=class in some codegen tests

Most of these tests check the specific structure of lambdas when they
are generated as classes, and they start to fail once invokedynamic
lambdas are enabled by default.
This commit is contained in:
Alexander Udalov
2023-04-24 18:59:00 +02:00
committed by Space Team
parent 163afc94bc
commit cd9209a7ee
48 changed files with 55 additions and 81 deletions
@@ -14001,12 +14001,6 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/functions/functionNtoStringGeneric.kt");
}
@Test
@TestMetadata("functionNtoStringNoReflect.kt")
public void testFunctionNtoStringNoReflect() throws Exception {
runTest("compiler/testData/codegen/box/functions/functionNtoStringNoReflect.kt");
}
@Test
@TestMetadata("infixRecursiveCall.kt")
public void testInfixRecursiveCall() throws Exception {
@@ -14097,12 +14097,6 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/functions/functionNtoStringGeneric.kt");
}
@Test
@TestMetadata("functionNtoStringNoReflect.kt")
public void testFunctionNtoStringNoReflect() throws Exception {
runTest("compiler/testData/codegen/box/functions/functionNtoStringNoReflect.kt");
}
@Test
@TestMetadata("infixRecursiveCall.kt")
public void testInfixRecursiveCall() throws Exception {
@@ -14097,12 +14097,6 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/functions/functionNtoStringGeneric.kt");
}
@Test
@TestMetadata("functionNtoStringNoReflect.kt")
public void testFunctionNtoStringNoReflect() throws Exception {
runTest("compiler/testData/codegen/box/functions/functionNtoStringNoReflect.kt");
}
@Test
@TestMetadata("infixRecursiveCall.kt")
public void testInfixRecursiveCall() throws Exception {
@@ -14097,12 +14097,6 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
runTest("compiler/testData/codegen/box/functions/functionNtoStringGeneric.kt");
}
@Test
@TestMetadata("functionNtoStringNoReflect.kt")
public void testFunctionNtoStringNoReflect() throws Exception {
runTest("compiler/testData/codegen/box/functions/functionNtoStringNoReflect.kt");
}
@Test
@TestMetadata("infixRecursiveCall.kt")
public void testInfixRecursiveCall() throws Exception {