object literals now capture expressions from 'by' delegate specifier

#KT-2224 Fixed
This commit is contained in:
Alexander Udalov
2012-07-06 20:54:36 +04:00
parent 4b062cb4e0
commit 06f2cbc891
4 changed files with 97 additions and 28 deletions
@@ -446,4 +446,9 @@ public class ClassGenTest extends CodegenTestCase {
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
blackBoxFile("regressions/kt1891.kt");
}
public void testKt2224() {
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
blackBoxFile("regressions/kt2224.kt");
}
}