KT-4456 Generated wrong bytecode when Kotlin class inherited from Java Interface with method which have SAM type argument

#KT-4456 fixed
This commit is contained in:
Evgeny Gerashchenko
2014-01-22 16:08:21 +04:00
parent 7b61bdb9b1
commit 357fc55358
4 changed files with 24 additions and 0 deletions
@@ -224,6 +224,11 @@ public class BlackBoxWithJavaCodegenTestGenerated extends AbstractBlackBoxCodege
doTestWithJava("compiler/testData/codegen/boxWithJava/sam/adapters/fileFilter.kt");
}
@TestMetadata("implementAdapter.kt")
public void testImplementAdapter() throws Exception {
doTestWithJava("compiler/testData/codegen/boxWithJava/sam/adapters/implementAdapter.kt");
}
@TestMetadata("inheritedInKotlin.kt")
public void testInheritedInKotlin() throws Exception {
doTestWithJava("compiler/testData/codegen/boxWithJava/sam/adapters/inheritedInKotlin.kt");