Chromium Code Reviews| Index: frog/lib/corelib_impl.dart |
| diff --git a/frog/lib/corelib_impl.dart b/frog/lib/corelib_impl.dart |
| index ee686f8f521f57170be738a0b57cd2897216b08e..4cee364e97e1f427dd7e6b8a0eae949f8011d04a 100644 |
| --- a/frog/lib/corelib_impl.dart |
| +++ b/frog/lib/corelib_impl.dart |
| @@ -94,6 +94,8 @@ class ListIterator<T> implements Iterator<T> { |
| } |
| T next() { |
| + // TODO(jmesserly): this check is redundant in a for-in loop |
| + // Must we do it? |
| if (!hasNext()) { |
| throw const NoMoreElementsException(); |
| } |