Fix exception at accidentally wrong annotation argument type

#KT-13740 Fixed
This commit is contained in:
Mikhail Zarechenskiy
2017-02-06 19:14:18 +03:00
parent 655cf82534
commit 9f0403f72c
4 changed files with 30 additions and 1 deletions
@@ -12519,6 +12519,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("arrayInAnnotationArgumentType.kt")
public void testArrayInAnnotationArgumentType() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/modifiers/const/arrayInAnnotationArgumentType.kt");
doTest(fileName);
}
@TestMetadata("constInteraction.kt")
public void testConstInteraction() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/modifiers/const/constInteraction.kt");