Handling null correctly when wrapping function in SAM wrapper

This commit is contained in:
Evgeny Gerashchenko
2013-06-27 20:37:27 +04:00
parent c6f6e6c756
commit 3e70661a6d
4 changed files with 29 additions and 0 deletions
@@ -191,6 +191,11 @@ public class BlackBoxWithJavaCodegenTestGenerated extends AbstractBlackBoxCodege
doTestWithJava("compiler/testData/codegen/boxWithJava/samAdapters/nonLiteralInConstructor.kt");
}
@TestMetadata("nonLiteralNull.kt")
public void testNonLiteralNull() throws Exception {
doTestWithJava("compiler/testData/codegen/boxWithJava/samAdapters/nonLiteralNull.kt");
}
@TestMetadata("nonLiteralRunnable.kt")
public void testNonLiteralRunnable() throws Exception {
doTestWithJava("compiler/testData/codegen/boxWithJava/samAdapters/nonLiteralRunnable.kt");