Index: sdk/lib/async/future_impl.dart |
diff --git a/sdk/lib/async/future_impl.dart b/sdk/lib/async/future_impl.dart |
index 8a6de69170283b2efc84c75de03929b83f8818bc..3660b9ff8830910280bcf7b639f976fec9f9ca52 100644 |
--- a/sdk/lib/async/future_impl.dart |
+++ b/sdk/lib/async/future_impl.dart |
@@ -134,7 +134,7 @@ class _FutureImpl<T> implements Future<T> { |
}); |
} |
if (remaining == 0) { |
- return new Future.immediate(const []); |
+ return new Future.value(const []); |
} |
values = new List(remaining); |
completer = new Completer<List>(); |