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

Unified Diff: sdk/lib/async/future.dart

Issue 11821012: Get more pub tests working. (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 | « no previous file | utils/pub/io.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/async/future.dart
diff --git a/sdk/lib/async/future.dart b/sdk/lib/async/future.dart
index 01e9e88597eb6b5dc518ee3ae61b6f4d08bdbf47..ea95b68e4fbdda16c17b9fdec51dec3205107fd5 100644
--- a/sdk/lib/async/future.dart
+++ b/sdk/lib/async/future.dart
@@ -133,8 +133,8 @@ abstract class Future<T> {
* completer.complete(value);
*
* // alternatively, if the service cannot produce the value, it
- * // can provide an exception:
- * completer.completeException(exception);
+ * // can provide an error:
+ * completer.completeError(error);
nweiz 2013/01/09 01:24:07 You may want to at least cc Florian on this.
Bob Nystrom 2013/01/09 01:31:35 Good call. It's just a doc change, but I'll add hi
*
*/
abstract class Completer<T> {
« no previous file with comments | « no previous file | utils/pub/io.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698