Error messages about "var with open / custom setter initialization" changed accordingly with the new backing field syntax

This commit is contained in:
Mikhail Glukhikh
2015-10-08 19:53:07 +03:00
parent 6914d09297
commit d1ab5168ec
8 changed files with 56 additions and 23 deletions
@@ -1362,6 +1362,12 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
JetTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/diagnostics/tests/backingField"), Pattern.compile("^(.+)\\.kt$"), true);
}
@TestMetadata("CustomGetSet.kt")
public void testCustomGetSet() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/backingField/CustomGetSet.kt");
doTest(fileName);
}
@TestMetadata("CustomGetVal.kt")
public void testCustomGetVal() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/backingField/CustomGetVal.kt");
@@ -5650,6 +5650,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("kt535.kt")
public void testKt535() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/objects/kt535.kt");
doTest(fileName);
}
@TestMetadata("kt560.kt")
public void testKt560() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/codegen/box/objects/kt560.kt");