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

Unified Diff: utils/pub/version_solver.dart

Issue 11865005: Remove Futures class, move methods to Future. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 | « utils/pub/validator/directory.dart ('k') | utils/tests/pub/test_pub.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/version_solver.dart
diff --git a/utils/pub/version_solver.dart b/utils/pub/version_solver.dart
index f277169ffcf9fa61b9377ad467a7476d6193c9bd..18b2be80fb49af09cfe828a7638fbacb46ff6661 100644
--- a/utils/pub/version_solver.dart
+++ b/utils/pub/version_solver.dart
@@ -254,7 +254,7 @@ class ChangeVersion implements WorkItem {
// The dependencies between the old and new version may be different. Walk
// them both and update any constraints that differ between the two.
- return Futures.wait([
+ return Future.wait([
getDependencyRefs(solver, oldVersion),
getDependencyRefs(solver, version)]).then((list) {
var oldDependencyRefs = list[0];
« no previous file with comments | « utils/pub/validator/directory.dart ('k') | utils/tests/pub/test_pub.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698