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

Unified Diff: corelib/src/future.dart

Issue 10653002: Fix some warnings in the core library identified by the static analyzer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: address review comments Created 8 years, 6 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
« no previous file with comments | « no previous file | corelib/src/implementation/collections.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: corelib/src/future.dart
diff --git a/corelib/src/future.dart b/corelib/src/future.dart
index 3da2a2585e601b3528026cc285bb89fa7750c6df..9c84680d8e03d9f328d01e355f8da2a25a826b1a 100644
--- a/corelib/src/future.dart
+++ b/corelib/src/future.dart
@@ -201,7 +201,7 @@ class Futures {
Completer completer = new Completer<List>();
Future<List> result = completer.future;
int remaining = futures.length;
- List<Object> values = new List(futures.length);
+ List values = new List(futures.length);
// As each future completes, put its value into the corresponding
// position in the list of values.
« no previous file with comments | « no previous file | corelib/src/implementation/collections.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698