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

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

Issue 12086042: Fix code to not hit bug in dart2js. (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 | tests/lib/async/stream_event_transform_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/async/stream_pipe.dart
diff --git a/sdk/lib/async/stream_pipe.dart b/sdk/lib/async/stream_pipe.dart
index 895e3313b5189af2b2f7276b99d4ffc30e772d77..d84a5ab2dfa84ac2170e1d61c47378de6390d5ef 100644
--- a/sdk/lib/async/stream_pipe.dart
+++ b/sdk/lib/async/stream_pipe.dart
@@ -559,7 +559,9 @@ class _StreamImplSink<T> implements StreamSink<T> {
*/
class _StreamEventTransformerImpl<S, T>
implements StreamEventTransformer<S, T> {
- final _TransformDataHandler<S, T> _handleData;
+ // TODO(ahe): Restore type when feature is implemented in dart2js
ahe 2013/01/29 11:00:23 I'm not sure why this TODO has my name on it?
+ // checked mode. http://dartbug.com/7733
+ final Function /*_TransformDataHandler<S, T>*/ _handleData;
final _TransformErrorHandler<T> _handleError;
final _TransformDoneHandler<T> _handleDone;
« no previous file with comments | « no previous file | tests/lib/async/stream_event_transform_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698