Index: pkg/analyzer/lib/src/generated/ast.dart |
diff --git a/pkg/analyzer/lib/src/generated/ast.dart b/pkg/analyzer/lib/src/generated/ast.dart |
index f110d52d77135305c8e267538d3fc7d521880161..2b4d1a7633f21e8b0f07266aa3bd8b1d7b94c075 100644 |
--- a/pkg/analyzer/lib/src/generated/ast.dart |
+++ b/pkg/analyzer/lib/src/generated/ast.dart |
@@ -2730,7 +2730,7 @@ abstract class AstNode { |
* greater than the offset of the second node. |
*/ |
static Comparator<AstNode> LEXICAL_ORDER = |
- (AstNode first, AstNode second) => second.offset - first.offset; |
+ (AstNode first, AstNode second) => first.offset - second.offset; |
/** |
* The parent of the node, or `null` if the node is the root of an AST |