Generate property initializer within property scope

This commit is contained in:
Dmitry Petrov
2017-05-04 14:09:12 +03:00
parent 8e84862afa
commit ddb2b7508b
4 changed files with 24 additions and 4 deletions
@@ -227,6 +227,12 @@ public class IrTextTestCaseGenerated extends AbstractIrTextTestCase {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/ir/irText/declarations"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.ANY, true);
}
@TestMetadata("catchParameterInTopLevelProperty.kt")
public void testCatchParameterInTopLevelProperty() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/ir/irText/declarations/catchParameterInTopLevelProperty.kt");
doTest(fileName);
}
@TestMetadata("classLevelProperties.kt")
public void testClassLevelProperties() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/ir/irText/declarations/classLevelProperties.kt");