Accept annotation_classes test changes

This commit is contained in:
Chris Smowton
2022-11-11 14:02:15 +00:00
parent df90fc1a80
commit d530817afc
5 changed files with 141 additions and 32 deletions

View File

@@ -677,10 +677,10 @@ final class AnnotationsNode extends PrintAstNode, TAnnotationsNode {
override ElementNode getChild(int childIndex) {
result.getElement() =
rank[childIndex](Element e, string file, int line, int column |
e = ann.getAnAnnotation() and locationSortKeys(e, file, line, column)
rank[childIndex](Element e, string file, int line, int column, string s |
e = ann.getAnAnnotation() and locationSortKeys(e, file, line, column) and s = e.toString()
|
e order by file, line, column
e order by file, line, column, s
)
}