EA-36935 Rewriting annotations exception when file contains object with annotation.

This commit is contained in:
Nikolay Krasko
2012-08-29 19:38:37 +04:00
parent 0852f3939f
commit 03989b9055
6 changed files with 31 additions and 25 deletions
@@ -514,6 +514,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/annotations/AnnotatedConstructorParams.kt");
}
@TestMetadata("AnnotationForObject.kt")
public void testAnnotationForObject() throws Exception {
doTest("compiler/testData/diagnostics/tests/annotations/AnnotationForObject.kt");
}
@TestMetadata("AnnotationsForClasses.kt")
public void testAnnotationsForClasses() throws Exception {
doTest("compiler/testData/diagnostics/tests/annotations/AnnotationsForClasses.kt");