test for obsolete KT-1528
This commit is contained in:
@@ -0,0 +1 @@
|
||||
fun box() = foo()
|
||||
@@ -0,0 +1,4 @@
|
||||
private val a = "OK"
|
||||
fun foo() : String {
|
||||
return "${a}"
|
||||
}
|
||||
@@ -280,6 +280,11 @@ public class PropertyGenTest extends CodegenTestCase {
|
||||
blackBoxFile("regressions/kt2509.kt");
|
||||
}
|
||||
|
||||
public void testKt1528() throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
blackBoxMultiFile("regressions/kt1528_1.kt", "regressions/kt1528_3.kt");
|
||||
}
|
||||
|
||||
public void testKt2589() throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
loadFile("regressions/kt2589.kt");
|
||||
|
||||
Reference in New Issue
Block a user