Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(582)

Unified Diff: pkg/analyzer_experimental/lib/src/generated/ast.dart

Issue 16357010: Basic dart^2 analyzer tests running. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}
}

Powered by Google App Engine
This is Rietveld 408576698