JVM_IR KT-47939 use FunInterfaceConstructorReference as base class

This commit is contained in:
Dmitry Petrov
2021-12-07 17:30:56 +03:00
committed by TeamCityServer
parent 0ccd7a7e0c
commit 93713a9ad4
13 changed files with 158 additions and 42 deletions
@@ -2462,6 +2462,18 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
public void testFunInterfaceConstructorEquality() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/funInterfaceConstructor/funInterfaceConstructorEquality.kt");
}
@Test
@TestMetadata("funInterfaceConstructorIsKFunction.kt")
public void testFunInterfaceConstructorIsKFunction() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/funInterfaceConstructor/funInterfaceConstructorIsKFunction.kt");
}
@Test
@TestMetadata("funInterfaceConstructorOfImplicitKFunctionType.kt")
public void testFunInterfaceConstructorOfImplicitKFunctionType() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/funInterfaceConstructor/funInterfaceConstructorOfImplicitKFunctionType.kt");
}
}
@Nested
@@ -2504,6 +2504,18 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
public void testFunInterfaceConstructorEquality() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/funInterfaceConstructor/funInterfaceConstructorEquality.kt");
}
@Test
@TestMetadata("funInterfaceConstructorIsKFunction.kt")
public void testFunInterfaceConstructorIsKFunction() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/funInterfaceConstructor/funInterfaceConstructorIsKFunction.kt");
}
@Test
@TestMetadata("funInterfaceConstructorOfImplicitKFunctionType.kt")
public void testFunInterfaceConstructorOfImplicitKFunctionType() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/funInterfaceConstructor/funInterfaceConstructorOfImplicitKFunctionType.kt");
}
}
@Nested
@@ -2230,6 +2230,16 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
public void testFunInterfaceConstructorEquality() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/funInterfaceConstructor/funInterfaceConstructorEquality.kt");
}
@TestMetadata("funInterfaceConstructorIsKFunction.kt")
public void testFunInterfaceConstructorIsKFunction() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/funInterfaceConstructor/funInterfaceConstructorIsKFunction.kt");
}
@TestMetadata("funInterfaceConstructorOfImplicitKFunctionType.kt")
public void testFunInterfaceConstructorOfImplicitKFunctionType() throws Exception {
runTest("compiler/testData/codegen/box/callableReference/funInterfaceConstructor/funInterfaceConstructorOfImplicitKFunctionType.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/callableReference/function")