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

Unified Diff: tools/testing/dart/status_expression.dart

Issue 11230011: Make hasNext a getter instead of a method. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
Index: tools/testing/dart/status_expression.dart
diff --git a/tools/testing/dart/status_expression.dart b/tools/testing/dart/status_expression.dart
index fcc11cbcc2d8f4fa63e82be75df079cf026187ee..e49dc6cbf462762fa8f4f023c6d6c1a47be1092f 100644
--- a/tools/testing/dart/status_expression.dart
+++ b/tools/testing/dart/status_expression.dart
@@ -182,7 +182,7 @@ class Scanner {
bool hasMore() => current != null;
void advance() {
- current = tokenIterator.hasNext() ? tokenIterator.next() : null;
+ current = tokenIterator.hasNext ? tokenIterator.next() : null;
}
}

Powered by Google App Engine
This is Rietveld 408576698