Fix SAM adapters substitution

Approximate sourceFunction types if it's needed

 #KT-11696 Fixed
This commit is contained in:
Denis Zharkov
2016-03-31 11:14:42 +03:00
parent bc1b34a989
commit 1511a03027
4 changed files with 52 additions and 2 deletions
@@ -493,6 +493,12 @@ public class BlackBoxAgainstJavaCodegenTestGenerated extends AbstractBlackBoxAga
doTest(fileName);
}
@TestMetadata("kt11696.kt")
public void testKt11696() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/kt11696.kt");
doTest(fileName);
}
@TestMetadata("kt4753.kt")
public void testKt4753() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxAgainstJava/sam/kt4753.kt");