Extract common logic for annotation entries collection
Before this change annotation entries starting with '@' within expressions hadn't been resolved Note that order of annotation entries in result may change according to order of children in PSI (see changed testData)
This commit is contained in:
@@ -639,6 +639,12 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("atAnnotationResolve.kt")
|
||||
public void testAtAnnotationResolve() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/annotations/atAnnotationResolve.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("BasicAnnotations.kt")
|
||||
public void testBasicAnnotations() throws Exception {
|
||||
String fileName = JetTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/annotations/BasicAnnotations.kt");
|
||||
|
||||
Reference in New Issue
Block a user