Fix rewrite for ANNOTATION slice (EA-49336)

This commit is contained in:
Nikolay Krasko
2013-09-10 18:27:25 +04:00
parent 8c53d19452
commit 08b8f56740
12 changed files with 106 additions and 19 deletions
@@ -545,6 +545,16 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/annotations/AnnotatedConstructorParams.kt");
}
@TestMetadata("AnnotationForClassTypeParameter.kt")
public void testAnnotationForClassTypeParameter() throws Exception {
doTest("compiler/testData/diagnostics/tests/annotations/AnnotationForClassTypeParameter.kt");
}
@TestMetadata("AnnotationForFunctionTypeParameter.kt")
public void testAnnotationForFunctionTypeParameter() throws Exception {
doTest("compiler/testData/diagnostics/tests/annotations/AnnotationForFunctionTypeParameter.kt");
}
@TestMetadata("AnnotationForObject.kt")
public void testAnnotationForObject() throws Exception {
doTest("compiler/testData/diagnostics/tests/annotations/AnnotationForObject.kt");
@@ -560,6 +570,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/annotations/AnnotationsForClasses.kt");
}
@TestMetadata("AnnotationsForPropertyTypeParameter.kt")
public void testAnnotationsForPropertyTypeParameter() throws Exception {
doTest("compiler/testData/diagnostics/tests/annotations/AnnotationsForPropertyTypeParameter.kt");
}
@TestMetadata("BasicAnnotations.kt")
public void testBasicAnnotations() throws Exception {
doTest("compiler/testData/diagnostics/tests/annotations/BasicAnnotations.kt");
@@ -2394,6 +2394,11 @@ public class LazyResolveNamespaceComparingTestGenerated extends AbstractLazyReso
doTestCheckingPrimaryConstructors("compiler/testData/lazyResolve/namespaceComparator/simpleClass.kt");
}
@TestMetadata("UnresolvedAnnotationOnObject.kt")
public void testUnresolvedAnnotationOnObject() throws Exception {
doTestCheckingPrimaryConstructors("compiler/testData/lazyResolve/namespaceComparator/UnresolvedAnnotationOnObject.kt");
}
@TestMetadata("varargIterator.kt")
public void testVarargIterator() throws Exception {
doTestCheckingPrimaryConstructors("compiler/testData/lazyResolve/namespaceComparator/varargIterator.kt");