Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Unified Diff: sdk/lib/internal/iterable.dart

Issue 1152483002: Add Iterable.empty constructor. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/internal/iterable.dart
diff --git a/sdk/lib/internal/iterable.dart b/sdk/lib/internal/iterable.dart
index 0a59b0ea258941304f0e1a89e51b4e8d71eef940..ff03d1a0bb2663b6795e990722c47269ea9dc119 100644
--- a/sdk/lib/internal/iterable.dart
+++ b/sdk/lib/internal/iterable.dart
@@ -658,7 +658,7 @@ class SkipWhileIterator<E> extends Iterator<E> {
* The always empty [Iterable].
*/
class EmptyIterable<E> extends Iterable<E>
- implements EfficientLengthIterable<E> {
+ implements EfficientLengthIterable<E> {
const EmptyIterable();
Iterator<E> get iterator => const EmptyIterator();

Powered by Google App Engine
This is Rietveld 408576698