Index: sdk/lib/_collection_dev/iterable.dart |
diff --git a/sdk/lib/_collection_dev/iterable.dart b/sdk/lib/_collection_dev/iterable.dart |
index 21bdbd1def05a1e93dcd61aee9d2b348d6eb5789..40e2891a5de090b6dbb0be3fd838bd11e9e5a59e 100644 |
--- a/sdk/lib/_collection_dev/iterable.dart |
+++ b/sdk/lib/_collection_dev/iterable.dart |
@@ -28,7 +28,7 @@ abstract class ListIterable<E> extends Iterable<E> { |
} |
} |
- bool get isEmpty => length != 0; |
+ bool get isEmpty => length == 0; |
E get first { |
if (length == 0) throw new StateError("No elements"); |