| 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 9b6306416a565405394216416ce707b75dbb416c..db47433c086ba63e560690c6d32ecf05809ae074 100644
|
| --- a/lib/compiler/implementation/lib/coreimpl_patch.dart
|
| +++ b/lib/compiler/implementation/lib/coreimpl_patch.dart
|
| @@ -236,7 +236,7 @@ class _AllMatchesIterator implements Iterator<Match> {
|
| : _done = false, _re = JSSyntaxRegExp._globalVersionOf(re);
|
|
|
| Match next() {
|
| - if (!hasNext()) {
|
| + if (!hasNext) {
|
| throw const NoMoreElementsException();
|
| }
|
|
|
| @@ -246,7 +246,7 @@ class _AllMatchesIterator implements Iterator<Match> {
|
| return next;
|
| }
|
|
|
| - bool hasNext() {
|
| + bool get hasNext {
|
| if (_done) {
|
| return false;
|
| } else if (_next != null) {
|
|
|