Object literals are now classes and expressions simultaneously for the purposes of annotation target checking

This commit is contained in:
Mikhail Glukhikh
2015-09-23 13:55:16 +03:00
parent dd4601fd08
commit c4fb6d48c5
5 changed files with 39 additions and 4 deletions
@@ -1064,6 +1064,12 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("objectLiteral.kt")
public void testObjectLiteral() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/annotations/options/objectLiteral.kt");
doTest(fileName);
}
@TestMetadata("repeatable.kt")
public void testRepeatable() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/annotations/options/repeatable.kt");