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

Unified Diff: lib/src/source_visitor.dart

Issue 2525553003: Tighten the span around index operators. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « lib/src/chunk.dart ('k') | test/regression/other/angular.unit » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/source_visitor.dart
diff --git a/lib/src/source_visitor.dart b/lib/src/source_visitor.dart
index 9c4cd2c6d3308413fbbbc772cf8fe552d46966ff..7c12e3e880225279c0a368286108768957ac40e8 100644
--- a/lib/src/source_visitor.dart
+++ b/lib/src/source_visitor.dart
@@ -1205,7 +1205,7 @@ class SourceVisitor implements AstVisitor {
soloZeroSplit();
}
- builder.startSpan();
+ builder.startSpan(Cost.index);
token(node.leftBracket);
soloZeroSplit();
visit(node.index);
« no previous file with comments | « lib/src/chunk.dart ('k') | test/regression/other/angular.unit » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698