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

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

Issue 48483002: Remove deprecated parts of dart:async. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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: sdk/lib/async/stream.dart
diff --git a/sdk/lib/async/stream.dart b/sdk/lib/async/stream.dart
index 6672f475a9373b631318cea00d8d35dc2cd5c100..251b9ef74b9c548f07f7c443ea623c700426c44c 100644
--- a/sdk/lib/async/stream.dart
+++ b/sdk/lib/async/stream.dart
@@ -402,7 +402,7 @@ abstract class Stream<T> {
try {
buffer.write(element);
} catch (e, s) {
- _cancelAndError(subscription, result, _asyncError(e, s), s);
+ _cancelAndError(subscription, result, e, s);
}
},
onError: (e) {

Powered by Google App Engine
This is Rietveld 408576698