Check for repeated annotations in type alias declaration.

This commit is contained in:
Dmitry Petrov
2016-10-18 08:59:38 +03:00
parent c2554bd30e
commit 5531762ab1
4 changed files with 22 additions and 0 deletions
@@ -20910,6 +20910,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("typealiasRhsRepeatedAnnotations.kt")
public void testTypealiasRhsRepeatedAnnotations() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/typealias/typealiasRhsRepeatedAnnotations.kt");
doTest(fileName);
}
@TestMetadata("unsupportedTypeAlias.kt")
public void testUnsupportedTypeAlias() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/typealias/unsupportedTypeAlias.kt");