Fix for KT-3969: Codegen fails on unary calls with default arguments

#KT-3969 Fixed
This commit is contained in:
Michael Bogdanov
2014-10-03 14:04:03 +04:00
parent d61352c8f3
commit 0c11ca680e
3 changed files with 27 additions and 2 deletions
@@ -2777,6 +2777,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("kt3969.kt")
public void testKt3969() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/extensionFunctions/kt3969.kt");
doTest(fileName);
}
@TestMetadata("kt4118.kt")
public void testKt4118() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/extensionFunctions/kt4118.kt");