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

Unified Diff: utils/pub/error_group.dart

Issue 12095050: Roll back Pub stream changes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Actually roll back changes 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/curl_client.dart ('k') | utils/pub/hosted_source.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/error_group.dart
diff --git a/utils/pub/error_group.dart b/utils/pub/error_group.dart
index 0bdf5e5568d6b9e4d3a8a3d79feceba921170b6e..b78ceacb77f11e6c20ef24c5ab14fdee71bf622f 100644
--- a/utils/pub/error_group.dart
+++ b/utils/pub/error_group.dart
@@ -179,7 +179,7 @@ class _ErrorGroupFuture implements Future {
_completer.future.catchError((_) {});
}
- Future then(onValue(value), {onError(AsyncError asyncError)}) {
+ Future then(onValue(T value), {onError(AsyncError asyncError)}) {
_hasListeners = true;
return _completer.future.then(onValue, onError: onError);
}
@@ -194,7 +194,7 @@ class _ErrorGroupFuture implements Future {
return _completer.future.whenComplete(action);
}
- Stream asStream() {
+ Stream<T> asStream() {
_hasListeners = true;
return _completer.future.asStream();
}
« no previous file with comments | « utils/pub/curl_client.dart ('k') | utils/pub/hosted_source.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698