Fix script properties kind in modifier checker #KT-18234 Fixed

This commit is contained in:
Mikhail Glukhikh
2017-06-01 11:11:07 +03:00
committed by Mikhail Glukhikh
parent 29f25ebeb9
commit ecfc2236a6
7 changed files with 46 additions and 2 deletions
@@ -23642,12 +23642,24 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("LateInit.kts")
public void testLateInit() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/script/LateInit.kts");
doTest(fileName);
}
@TestMetadata("NestedInnerClass.kts")
public void testNestedInnerClass() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/script/NestedInnerClass.kts");
doTest(fileName);
}
@TestMetadata("PrivateVal.kts")
public void testPrivateVal() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/script/PrivateVal.kts");
doTest(fileName);
}
@TestMetadata("resolveInitializerOfDestructuringDeclarationOnce.kts")
public void testResolveInitializerOfDestructuringDeclarationOnce() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/script/resolveInitializerOfDestructuringDeclarationOnce.kts");