Chromium Code Reviews| Index: sdk/lib/core/collection.dart |
| diff --git a/sdk/lib/core/collection.dart b/sdk/lib/core/collection.dart |
| index 51ffc39761c0ec4c42702eb6f6c8db62ef0abe26..41ce2868919141f6856e2e879fa78dda0881a1cc 100644 |
| --- a/sdk/lib/core/collection.dart |
| +++ b/sdk/lib/core/collection.dart |
| @@ -95,5 +95,5 @@ abstract class Collection<E> extends Iterable<E> { |
| /** |
| * Returns true if there is no element in this collection. |
| */ |
| - bool get isEmpty => !iterator().hasNext; |
| + bool get isEmpty => !iterator.moveNext(); |
| } |