KT-2270 VerifyError when default value of constructor parameter is previous parameter
#KT-2270 Fixed
This commit is contained in:
@@ -68,6 +68,14 @@ public class FunctionGenTest extends CodegenTestCase {
|
||||
// System.out.println(generateToText());
|
||||
}
|
||||
|
||||
public void testDefaultArgs6() {
|
||||
blackBoxFile("functions/defaultargs6.kt");
|
||||
}
|
||||
|
||||
public void testDefaultArgs7() {
|
||||
blackBoxFile("functions/defaultargs7.kt");
|
||||
}
|
||||
|
||||
public void testNoThisNoClosure() throws Exception {
|
||||
blackBoxFile("functions/nothisnoclosure.jet");
|
||||
// System.out.println(generateToText());
|
||||
@@ -121,7 +129,7 @@ public class FunctionGenTest extends CodegenTestCase {
|
||||
blackBoxFile("functions/invoke.kt");
|
||||
}
|
||||
|
||||
public void test2481() {
|
||||
public void testKt2481() {
|
||||
blackBoxFile("regressions/kt2481.kt");
|
||||
}
|
||||
|
||||
@@ -137,6 +145,10 @@ public class FunctionGenTest extends CodegenTestCase {
|
||||
blackBoxFile("regressions/kt2271.kt");
|
||||
}
|
||||
|
||||
public void testKt2270() {
|
||||
blackBoxFile("regressions/kt2270.kt");
|
||||
}
|
||||
|
||||
public static class WithJavaFunctionGenTest extends CodegenTestCase {
|
||||
private void blackBoxFileWithJava(@NotNull String ktFile) throws Exception {
|
||||
File javaClassesTempDirectory = new File(FileUtil.getTempDirectory(), "java-classes");
|
||||
|
||||
Reference in New Issue
Block a user