KT-2331 fix: proper dealing with privite property setters

This commit is contained in:
Alex Tkachman
2012-08-04 08:10:38 +03:00
parent 3f2e1bc1ce
commit bcec8b7c36
4 changed files with 62 additions and 32 deletions
@@ -227,6 +227,11 @@ public class PropertyGenTest extends CodegenTestCase {
blackBoxFile("regressions/kt1398.kt");
}
public void testKt2331() throws Exception {
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
blackBoxFile("regressions/kt2331.kt");
}
public void testKt1482_2279() throws Exception {
createEnvironmentWithFullJdk();
blackBoxFile("regressions/kt1482_2279.kt");