| Index: lib/coreimpl/hash_map_set.dart
|
| diff --git a/lib/coreimpl/hash_map_set.dart b/lib/coreimpl/hash_map_set.dart
|
| index daa5d064dbf0bd29667a8dad6ad552ac23118b4e..897fcc66100cc9e6ec5818269381b146a46cd72c 100644
|
| --- a/lib/coreimpl/hash_map_set.dart
|
| +++ b/lib/coreimpl/hash_map_set.dart
|
| @@ -406,7 +406,7 @@ class HashSetIterator<E> implements Iterator<E> {
|
| _advance();
|
| }
|
|
|
| - bool hasNext() {
|
| + bool get hasNext {
|
| if (_nextValidIndex >= _entries.length) return false;
|
| if (_entries[_nextValidIndex] === HashMapImplementation._DELETED_KEY) {
|
| // This happens in case the set was modified in the meantime.
|
| @@ -418,7 +418,7 @@ class HashSetIterator<E> implements Iterator<E> {
|
| }
|
|
|
| E next() {
|
| - if (!hasNext()) {
|
| + if (!hasNext) {
|
| throw const NoMoreElementsException();
|
| }
|
| E res = _entries[_nextValidIndex];
|
|
|