Index: lib/compiler/implementation/util/link_implementation.dart |
diff --git a/lib/compiler/implementation/util/link_implementation.dart b/lib/compiler/implementation/util/link_implementation.dart |
index a7da8ec5a54458dbc020de0e0711ea80686417b5..20cefe5c100a2784a6d6735ddf8671085d6dab86 100644 |
--- a/lib/compiler/implementation/util/link_implementation.dart |
+++ b/lib/compiler/implementation/util/link_implementation.dart |
@@ -5,7 +5,7 @@ |
class LinkIterator<T> implements Iterator<T> { |
Link<T> current; |
LinkIterator(Link<T> this.current); |
- bool hasNext() => !current.isEmpty(); |
+ bool get hasNext => !current.isEmpty(); |
T next() { |
T result = current.head; |
current = current.tail; |