KT-1168 don't use direct fields from non-final properties

This commit is contained in:
Alex Tkachman
2012-01-28 00:55:47 +03:00
parent 0aa7ab3002
commit 4b4d84d485
4 changed files with 25 additions and 6 deletions
@@ -265,8 +265,4 @@ public class ClassGenTest extends CodegenTestCase {
public void testKt471() throws Exception {
blackBoxFile("regressions/kt471.kt");
}
public void testKt1165() throws Exception {
blackBoxFile("regressions/kt1165.kt");
}
}
@@ -164,4 +164,12 @@ public class PropertyGenTest extends CodegenTestCase {
method.setAccessible(true);
assertEquals(method.invoke(null), "1.0");
}
public void testKt1165() throws Exception {
blackBoxFile("regressions/kt1165.kt");
}
public void testKt1168() throws Exception {
blackBoxFile("regressions/kt1168.kt");
}
}