Fix for KT-13040: Invalid bytecode generated for extension lambda invocation with safe call

#KT-13040 Fixed
This commit is contained in:
Michael Bogdanov
2016-07-08 20:31:23 +03:00
parent 93f6761671
commit 23a0e19620
5 changed files with 63 additions and 1 deletions
@@ -619,6 +619,18 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
doTest(fileName);
}
@TestMetadata("swapAndWith.kt")
public void testSwapAndWith() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/complex/swapAndWith.kt");
doTest(fileName);
}
@TestMetadata("swapAndWith2.kt")
public void testSwapAndWith2() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/complex/swapAndWith2.kt");
doTest(fileName);
}
@TestMetadata("use.kt")
public void testUse() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/boxInline/complex/use.kt");