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

Unified Diff: utils/pub/system_cache.dart

Issue 11833032: Fix pub tests. (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/archive/input_stream.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/system_cache.dart
diff --git a/utils/pub/system_cache.dart b/utils/pub/system_cache.dart
index fd2c6536122e1329e6e1170fb44aa71ff5c82b48..3074a741188331a2820426075f408ba38846b653 100644
--- a/utils/pub/system_cache.dart
+++ b/utils/pub/system_cache.dart
@@ -73,7 +73,7 @@ class SystemCache {
if (pending != null) return pending;
var future = id.source.installToSystemCache(id)
- .whenComplete(() => _pendingInstalls.remove(id));
+ .whenComplete(() { _pendingInstalls.remove(id); });
_pendingInstalls[id] = future;
return future;
}
« no previous file with comments | « utils/archive/input_stream.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698