Don't create KProperty instance for synthetic field

#KT-5759 Fixed
This commit is contained in:
Alexander Udalov
2015-03-19 20:51:24 +03:00
parent a5a60b6917
commit 7e69a5ac9a
3 changed files with 26 additions and 3 deletions
@@ -2782,6 +2782,12 @@ public class BlackBoxWithStdlibCodegenTestGenerated extends AbstractBlackBoxCode
doTestWithStdlib(fileName);
}
@TestMetadata("syntheticFields.kt")
public void testSyntheticFields() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/mapping/syntheticFields.kt");
doTestWithStdlib(fileName);
}
@TestMetadata("topLevelProperty.kt")
public void testTopLevelProperty() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/boxWithStdlib/reflection/mapping/topLevelProperty.kt");