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

Unified Diff: lib/core/iterator.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: lib/core/iterator.dart
diff --git a/lib/core/iterator.dart b/lib/core/iterator.dart
index c3a346d87ce904ae3defb32e285e2c525bfa47e4..4e3000d87648adce3064c508ed85e4f00abc7b68 100644
--- a/lib/core/iterator.dart
+++ b/lib/core/iterator.dart
@@ -20,5 +20,5 @@ abstract class Iterator<E> {
/**
* Returns whether the [Iterator] has elements left.
*/
- bool hasNext();
+ bool hasNext;
}

Powered by Google App Engine
This is Rietveld 408576698