Fix for KT-16581: VerifyError when calling default value parameter with jvm-target 1.8

#KT-16581 Fixed
This commit is contained in:
Mikhael Bogdanov
2017-03-02 13:39:45 +01:00
parent ffe3453937
commit a03ed6f742
5 changed files with 73 additions and 26 deletions
@@ -269,6 +269,24 @@ public class BlackBoxWithJava8CodegenTestGenerated extends AbstractBlackBoxCodeg
doTest(fileName);
}
@TestMetadata("kt16581.kt")
public void testKt16581() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/java8/box/jvm8/kt16581.kt");
doTest(fileName);
}
@TestMetadata("kt16581_2.kt")
public void testKt16581_2() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/java8/box/jvm8/kt16581_2.kt");
doTest(fileName);
}
@TestMetadata("kt16588.kt")
public void testKt16588() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/java8/box/jvm8/kt16588.kt");
doTest(fileName);
}
@TestMetadata("oneImplementation.kt")
public void testOneImplementation() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/java8/box/jvm8/oneImplementation.kt");