JVM_IR fix receiver type for fake overrides

This commit is contained in:
Dmitry Petrov
2021-03-29 14:44:25 +03:00
parent 92b99b140e
commit 466e7b60b0
7 changed files with 121 additions and 3 deletions
@@ -20596,6 +20596,18 @@ public class FirBlackBoxCodegenTestGenerated extends AbstractFirBlackBoxCodegenT
runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/boundMemberRef.kt");
}
@Test
@TestMetadata("boundRefToSuperClassMethod.kt")
public void testBoundRefToSuperClassMethod() throws Exception {
runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/boundRefToSuperClassMethod.kt");
}
@Test
@TestMetadata("boundRefToSuperInterfaceMethod.kt")
public void testBoundRefToSuperInterfaceMethod() throws Exception {
runTest("compiler/testData/codegen/box/invokedynamic/sam/functionRefToJavaInterface/boundRefToSuperInterfaceMethod.kt");
}
@Test
@TestMetadata("constructorRef.kt")
public void testConstructorRef() throws Exception {