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

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

Issue 12061002: Fixing type check error using Stream.take in dart2js checked mode. (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/html/history_test.dart » ('j') | tests/html/history_test.dart » ('J')
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 34609924561d0f159ffc7c3595d4616dca61882c..2e0375a4998bdc7716e9a488392e5e979a19b86d 100644
--- a/sdk/lib/async/stream_pipe.dart
+++ b/sdk/lib/async/stream_pipe.dart
@@ -169,7 +169,9 @@ class _ForwardingStreamSubscription<S, T>
// Methods used as listener on source subscription.
- void _handleData(S data) {
+ // TODO(ahe): Restore type when feature is implemented in dart2js
+ // checked mode. http://dartbug.com/7733
+ void _handleData(/*S*/ data) {
_stream._handleData(data, this);
}
« no previous file with comments | « no previous file | tests/html/history_test.dart » ('j') | tests/html/history_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698