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

Unified Diff: pkg/analyzer/lib/src/services/formatter_impl.dart

Issue 186153005: New analzyer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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/lib/src/services/formatter_impl.dart
diff --git a/pkg/analyzer/lib/src/services/formatter_impl.dart b/pkg/analyzer/lib/src/services/formatter_impl.dart
index e84c0a0a6343e567743f6f9ec891c572325029a4..200bf57f216ea20af46b15bed601a1578bd99e96 100644
--- a/pkg/analyzer/lib/src/services/formatter_impl.dart
+++ b/pkg/analyzer/lib/src/services/formatter_impl.dart
@@ -1693,8 +1693,8 @@ class SourceVisitor implements AstVisitor {
countNewlinesBetween(last, current) > 0 ? 0 : current.offset - last.end;
/// Count the blanks between these two nodes.
- int countBlankLinesBetween(AstNode lastNode, AstNode currentNode) =>
- countNewlinesBetween(lastNode.endToken, currentNode.beginToken);
+ int countBlankLinesBetween(AstNode lAstNode, AstNode currentNode) =>
Brian Wilkerson 2014/03/04 21:17:47 Was this rename intentional?
scheglov 2014/03/04 21:50:16 No, it wasn't. Thanks.
+ countNewlinesBetween(lAstNode.endToken, currentNode.beginToken);
/// Count newlines preceeding this [node].
int countPrecedingNewlines(AstNode node) =>

Powered by Google App Engine
This is Rietveld 408576698