| Index: lib/html/src/_ListIterators.dart
|
| diff --git a/lib/html/src/_ListIterators.dart b/lib/html/src/_ListIterators.dart
|
| index 039eda61c645951468972ba5abc0c40892e79406..4dd7745cc21e3c36329ddc2e9c4b96dc1210d05e 100644
|
| --- a/lib/html/src/_ListIterators.dart
|
| +++ b/lib/html/src/_ListIterators.dart
|
| @@ -23,7 +23,7 @@ class _VariableSizeListIterator<T> implements Iterator<T> {
|
|
|
| T next() {
|
| if (!hasNext) {
|
| - throw const NoMoreElementsException();
|
| + throw new StateError("No more elements");
|
| }
|
| return _array[_pos++];
|
| }
|
|
|