Generate bridges for properties declared in constructor

#KT-2926 Fixed
 #KT-2833 Fixed
This commit is contained in:
Alexander Udalov
2012-10-10 20:24:31 +04:00
parent 5bc9291d61
commit 8bfb2ddcce
5 changed files with 55 additions and 17 deletions
@@ -174,4 +174,14 @@ public class BridgeMethodGenTest extends CodegenTestCase {
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
blackBoxFile("bridges/propertyAccessorsWithoutBody.kt");
}
public void testPropertyInConstructor() {
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
blackBoxFile("bridges/propertyInConstructor.kt");
}
public void testKt2833() {
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
blackBoxFile("regressions/kt2833.kt");
}
}