Fixed annotation resolve for loop parameter or catched exceptions type

This commit is contained in:
Mikhail Glukhikh
2015-06-09 16:14:00 +03:00
parent 731e5d85a4
commit f9fe8cd341
7 changed files with 61 additions and 9 deletions
@@ -627,12 +627,24 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("AnnotatedLoop.kt")
public void testAnnotatedLoop() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/annotations/AnnotatedLoop.kt");
doTest(fileName);
}
@TestMetadata("AnnotatedResultType.kt")
public void testAnnotatedResultType() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/annotations/AnnotatedResultType.kt");
doTest(fileName);
}
@TestMetadata("AnnotatedTryCatch.kt")
public void testAnnotatedTryCatch() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/annotations/AnnotatedTryCatch.kt");
doTest(fileName);
}
@TestMetadata("AnnotationForClassTypeParameter.kt")
public void testAnnotationForClassTypeParameter() throws Exception {
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/annotations/AnnotationForClassTypeParameter.kt");