correct handling of delegate properties #KT-2786 fixed

This commit is contained in:
Alex Tkachman
2012-09-20 16:01:53 +03:00
parent 936f53fcbf
commit eaf9a79420
3 changed files with 20 additions and 0 deletions
@@ -280,6 +280,11 @@ public class PropertyGenTest extends CodegenTestCase {
blackBoxFile("regressions/kt2509.kt");
}
public void testKt2786() throws Exception {
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
blackBoxFile("regressions/kt2786.kt");
}
public void testKt1528() throws Exception {
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
blackBoxMultiFile("regressions/kt1528_1.kt", "regressions/kt1528_3.kt");