| Index: lib/compiler/implementation/lib/coreimpl_patch.dart
|
| diff --git a/lib/compiler/implementation/lib/coreimpl_patch.dart b/lib/compiler/implementation/lib/coreimpl_patch.dart
|
| index 15426f5ac160af90a1cd9c2821850beca8249b87..4ee90f878126312212f3e57dce5554ed7339b765 100644
|
| --- a/lib/compiler/implementation/lib/coreimpl_patch.dart
|
| +++ b/lib/compiler/implementation/lib/coreimpl_patch.dart
|
| @@ -178,7 +178,7 @@ class _AllMatchesIterator implements Iterator<Match> {
|
|
|
| Match next() {
|
| if (!hasNext) {
|
| - throw const NoMoreElementsException();
|
| + throw new StateError("No more elements");
|
| }
|
|
|
| // _next is set by [hasNext].
|
|
|