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

Unified Diff: utils/pub/error_group.dart

Issue 12610006: Renamed StreamSink to EventSink. Renamed signalError to addError. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Changed inheritance back! Now create StreamSink instead of EventSink where we create them. Created 7 years, 9 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
Index: utils/pub/error_group.dart
diff --git a/utils/pub/error_group.dart b/utils/pub/error_group.dart
index 16b96b19c36dd3c1ddcb70c54e7b535e1db6c865..dc0ba8a7fce1ef46e5212b5eb8051c80d58c1775 100644
--- a/utils/pub/error_group.dart
+++ b/utils/pub/error_group.dart
@@ -272,7 +272,7 @@ class _ErrorGroupStream extends Stream {
_subscription.cancel();
// Call these asynchronously to work around issue 7913.
defer(() {
- _controller.signalError(e.error, e.stackTrace);
+ _controller.addError(e.error, e.stackTrace);
_controller.close();
});
}

Powered by Google App Engine
This is Rietveld 408576698