JVM_IR KT-43877 fix generic signatures for SAM-converted lambdas
This commit is contained in:
js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/es6/semantics/IrJsCodegenBoxES6TestGenerated.java
Generated
+10
@@ -10408,6 +10408,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
runTest("compiler/testData/codegen/box/funInterface/samConstructorExplicitInvocation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("samConversionToGenericInterfaceInGenericFun.kt")
|
||||
public void testSamConversionToGenericInterfaceInGenericFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/funInterface/samConversionToGenericInterfaceInGenericFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("subtypeOfFunctionalTypeToFunInterfaceConversion.kt")
|
||||
public void testSubtypeOfFunctionalTypeToFunInterfaceConversion() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/funInterface/subtypeOfFunctionalTypeToFunInterfaceConversion.kt");
|
||||
@@ -13752,6 +13757,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
|
||||
runTest("compiler/testData/codegen/box/ir/anonymousObjectInForLoopIteratorAndBody.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("anonymousObjectInGenericFun.kt")
|
||||
public void testAnonymousObjectInGenericFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/anonymousObjectInGenericFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("anonymousObjectInsideElvis.kt")
|
||||
public void testAnonymousObjectInsideElvis() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/anonymousObjectInsideElvis.kt");
|
||||
|
||||
Generated
+10
@@ -10408,6 +10408,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/funInterface/samConstructorExplicitInvocation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("samConversionToGenericInterfaceInGenericFun.kt")
|
||||
public void testSamConversionToGenericInterfaceInGenericFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/funInterface/samConversionToGenericInterfaceInGenericFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("subtypeOfFunctionalTypeToFunInterfaceConversion.kt")
|
||||
public void testSubtypeOfFunctionalTypeToFunInterfaceConversion() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/funInterface/subtypeOfFunctionalTypeToFunInterfaceConversion.kt");
|
||||
@@ -13752,6 +13757,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/ir/anonymousObjectInForLoopIteratorAndBody.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("anonymousObjectInGenericFun.kt")
|
||||
public void testAnonymousObjectInGenericFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/anonymousObjectInGenericFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("anonymousObjectInsideElvis.kt")
|
||||
public void testAnonymousObjectInsideElvis() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/anonymousObjectInsideElvis.kt");
|
||||
|
||||
Generated
+10
@@ -10408,6 +10408,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/funInterface/samConstructorExplicitInvocation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("samConversionToGenericInterfaceInGenericFun.kt")
|
||||
public void testSamConversionToGenericInterfaceInGenericFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/funInterface/samConversionToGenericInterfaceInGenericFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("subtypeOfFunctionalTypeToFunInterfaceConversion.kt")
|
||||
public void testSubtypeOfFunctionalTypeToFunInterfaceConversion() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/funInterface/subtypeOfFunctionalTypeToFunInterfaceConversion.kt");
|
||||
@@ -13817,6 +13822,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/ir/anonymousObjectInForLoopIteratorAndBody.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("anonymousObjectInGenericFun.kt")
|
||||
public void testAnonymousObjectInGenericFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/anonymousObjectInGenericFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("anonymousObjectInsideElvis.kt")
|
||||
public void testAnonymousObjectInsideElvis() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/anonymousObjectInsideElvis.kt");
|
||||
|
||||
js/js.tests/tests-gen/org/jetbrains/kotlin/js/test/wasm/semantics/IrCodegenBoxWasmTestGenerated.java
Generated
+10
@@ -5259,6 +5259,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
runTest("compiler/testData/codegen/box/funInterface/samConstructorExplicitInvocation.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("samConversionToGenericInterfaceInGenericFun.kt")
|
||||
public void testSamConversionToGenericInterfaceInGenericFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/funInterface/samConversionToGenericInterfaceInGenericFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/funInterface/equality")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
@@ -8043,6 +8048,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/ir"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("anonymousObjectInGenericFun.kt")
|
||||
public void testAnonymousObjectInGenericFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/anonymousObjectInGenericFun.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("anonymousObjectInsideElvis.kt")
|
||||
public void testAnonymousObjectInsideElvis() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/ir/anonymousObjectInsideElvis.kt");
|
||||
|
||||
Reference in New Issue
Block a user