JVM IR: cast indy-SAM receiver type from KFunctionN to FunctionN

#KT-46512 Fixed
This commit is contained in:
Alexander Udalov
2021-05-06 18:58:59 +02:00
committed by TeamCityServer
parent 124bd559de
commit d306d8a90e
10 changed files with 61 additions and 1 deletions
@@ -11400,6 +11400,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/funInterface/kt45444_privateFunInterface.kt");
}
@TestMetadata("kt46512_indyFunInterfaceOverCallableReference.kt")
public void testKt46512_indyFunInterfaceOverCallableReference() throws Exception {
runTest("compiler/testData/codegen/box/funInterface/kt46512_indyFunInterfaceOverCallableReference.kt");
}
@TestMetadata("multimodule.kt")
public void testMultimodule() throws Exception {
runTest("compiler/testData/codegen/box/funInterface/multimodule.kt");
@@ -10811,6 +10811,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/funInterface/kt45444_privateFunInterface.kt");
}
@TestMetadata("kt46512_indyFunInterfaceOverCallableReference.kt")
public void testKt46512_indyFunInterfaceOverCallableReference() throws Exception {
runTest("compiler/testData/codegen/box/funInterface/kt46512_indyFunInterfaceOverCallableReference.kt");
}
@TestMetadata("multimodule.kt")
public void testMultimodule() throws Exception {
runTest("compiler/testData/codegen/box/funInterface/multimodule.kt");
@@ -10811,6 +10811,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/funInterface/kt45444_privateFunInterface.kt");
}
@TestMetadata("kt46512_indyFunInterfaceOverCallableReference.kt")
public void testKt46512_indyFunInterfaceOverCallableReference() throws Exception {
runTest("compiler/testData/codegen/box/funInterface/kt46512_indyFunInterfaceOverCallableReference.kt");
}
@TestMetadata("multimodule.kt")
public void testMultimodule() throws Exception {
runTest("compiler/testData/codegen/box/funInterface/multimodule.kt");
@@ -5431,6 +5431,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/funInterface/contravariantIntersectionTypeWithNonTrivialCommonSupertype2.kt");
}
@TestMetadata("kt46512_indyFunInterfaceOverCallableReference.kt")
public void testKt46512_indyFunInterfaceOverCallableReference() throws Exception {
runTest("compiler/testData/codegen/box/funInterface/kt46512_indyFunInterfaceOverCallableReference.kt");
}
@TestMetadata("compiler/testData/codegen/box/funInterface/equality")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)