Index: pkg/analyzer_experimental/lib/src/generated/ast.dart |
diff --git a/pkg/analyzer_experimental/lib/src/generated/ast.dart b/pkg/analyzer_experimental/lib/src/generated/ast.dart |
index dfda00b58234307ab99edd89ff8f903bc8f7ce5f..6920eafd83e0104278d108d200d2128cd10fc86c 100644 |
--- a/pkg/analyzer_experimental/lib/src/generated/ast.dart |
+++ b/pkg/analyzer_experimental/lib/src/generated/ast.dart |
@@ -3027,7 +3027,7 @@ class CompilationUnit extends ASTNode { |
childList.addAll(_directives); |
childList.addAll(_declarations); |
List<ASTNode> children = new List.from(childList); |
- children.sort(); |
+ children.sort(ASTNode.LEXICAL_ORDER); |
return children; |
} |
} |