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

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

Issue 12335093: Fix string_transformer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 | sdk/lib/io/string_transformer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/async/stream.dart
diff --git a/sdk/lib/async/stream.dart b/sdk/lib/async/stream.dart
index dddc00406cc5ba3a970226010fdd988f5cd4df4f..993393f1077ef62febe5c57b22fdf59b41c6355d 100644
--- a/sdk/lib/async/stream.dart
+++ b/sdk/lib/async/stream.dart
@@ -1014,6 +1014,7 @@ class EventTransformStream<S, T> extends Stream<T> {
{ void onError(AsyncError error),
void onDone(),
bool unsubscribeOnError }) {
+ unsubscribeOnError = identical(true, unsubscribeOnError);
return new _EventTransformStreamSubscription(_source, _transformer,
onData, onError, onDone,
unsubscribeOnError);
« no previous file with comments | « no previous file | sdk/lib/io/string_transformer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698