KT-1892: initializers for extension properties

This commit is contained in:
Alex Tkachman
2012-08-04 22:07:21 +03:00
parent 186807a6d7
commit 4e0e7fb943
3 changed files with 16 additions and 10 deletions
@@ -232,6 +232,12 @@ public class PropertyGenTest extends CodegenTestCase {
blackBoxFile("regressions/kt2331.kt");
}
public void testKt1892() throws Exception {
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
blackBoxFile("regressions/kt1892.kt");
//System.out.println(generateToText());
}
public void testKt1846() throws Exception {
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
loadFile("regressions/kt1846.kt");