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

Unified Diff: utils/pub/yaml/parser.dart

Issue 11273041: Make first and last getters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with co19 issue number. Created 8 years, 2 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
« no previous file with comments | « utils/pub/io.dart ('k') | utils/template/codegen.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/yaml/parser.dart
diff --git a/utils/pub/yaml/parser.dart b/utils/pub/yaml/parser.dart
index b3c69dfb0060ccb28740ec9e0f9b877e458a6de9..dcfc50a35f97029ac24a259b34ce8ade9c013928 100644
--- a/utils/pub/yaml/parser.dart
+++ b/utils/pub/yaml/parser.dart
@@ -202,10 +202,10 @@ class _Parser {
if (farthestLine < line) {
farthestLine = line;
farthestColumn = column;
- farthestContext = contextStack.last();
+ farthestContext = contextStack.last;
} else if (farthestLine == line && farthestColumn < column) {
farthestColumn = column;
- farthestContext = contextStack.last();
+ farthestContext = contextStack.last;
}
farthestPos = pos;
« no previous file with comments | « utils/pub/io.dart ('k') | utils/template/codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698