Allow multiple non-repeatable annotations with different targets

This commit is contained in:
Yan Zhulanow
2015-08-05 22:05:47 +03:00
parent 4ead50352d
commit f86fe6a8d5
5 changed files with 77 additions and 4 deletions
@@ -1232,6 +1232,12 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("repeatable.kt")
public void testRepeatable() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget/repeatable.kt");
doTest(fileName);
}
@TestMetadata("SetterAnnotations.kt")
public void testSetterAnnotations() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/annotations/withUseSiteTarget/SetterAnnotations.kt");