Index: tests/compiler/dart2js_extra/for_in_test.dart |
diff --git a/tests/compiler/dart2js_extra/for_in_test.dart b/tests/compiler/dart2js_extra/for_in_test.dart |
index 54f8b020d54da88e08b691a0d4f8ced09f362474..d2f76ea94f79682a54c13e3b3ffc6396b669e312 100644 |
--- a/tests/compiler/dart2js_extra/for_in_test.dart |
+++ b/tests/compiler/dart2js_extra/for_in_test.dart |
@@ -35,7 +35,7 @@ class MyListIterator<T> implements Iterator<T> { |
final List<T> values; |
int index; |
MyListIterator(List<T> values) : this.values = values, index = 0; |
- bool hasNext() => index < values.length; |
+ bool get hasNext => index < values.length; |
T next() => values[index++]; |
} |