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

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

Issue 18749002: Use typedefs in lib. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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_impl.dart
diff --git a/sdk/lib/async/stream_impl.dart b/sdk/lib/async/stream_impl.dart
index 40cc3da63e5ec550249be0dcce588766a272a4a9..218f1de46fd1c519ca44ecc805960ba8e567b333 100644
--- a/sdk/lib/async/stream_impl.dart
+++ b/sdk/lib/async/stream_impl.dart
@@ -77,9 +77,7 @@ class _BufferingStreamSubscription<T> implements StreamSubscription<T>,
static const int _STATE_PAUSE_COUNT_SHIFT = 6;
/* Event handlers provided in constructor. */
- /* TODO(7733): Fix Function->_DataHandler<T> when dart2js understands
- * parameterized function types. */
- Function _onData;
+ _DataHandler<T> _onData;
_ErrorHandler _onError;
_DoneHandler _onDone;
final _Zone _zone = _Zone.current;

Powered by Google App Engine
This is Rietveld 408576698