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

Unified Diff: tool/input_sdk/lib/async/stream_controller.dart

Issue 1554683002: Update to latest analyzer (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 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 | « tool/input_sdk/lib/async/stream.dart ('k') | tool/input_sdk/lib/collection/iterable.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tool/input_sdk/lib/async/stream_controller.dart
diff --git a/tool/input_sdk/lib/async/stream_controller.dart b/tool/input_sdk/lib/async/stream_controller.dart
index 6ad3e8a0bb772af3892e32bb7c48971caede9823..0d6ce2c32c68e0025c5768315e70b422f9cd2dba 100644
--- a/tool/input_sdk/lib/async/stream_controller.dart
+++ b/tool/input_sdk/lib/async/stream_controller.dart
@@ -81,8 +81,8 @@ abstract class StreamController<T> implements StreamSink<T> {
if (onListen == null && onPause == null &&
onResume == null && onCancel == null) {
return sync
- ? new _NoCallbackSyncStreamController/*<T>*/()
- : new _NoCallbackAsyncStreamController/*<T>*/();
+ ? new _NoCallbackSyncStreamController<T>()
+ : new _NoCallbackAsyncStreamController<T>();
}
return sync
? new _SyncStreamController<T>(onListen, onPause, onResume, onCancel)
@@ -650,11 +650,11 @@ abstract class _NoCallbacks {
_NotificationHandler get _onCancel => null;
}
-class _NoCallbackAsyncStreamController/*<T>*/ = _StreamController/*<T>*/
- with _AsyncStreamControllerDispatch/*<T>*/, _NoCallbacks;
+class _NoCallbackAsyncStreamController<T> = _StreamController<T>
+ with _AsyncStreamControllerDispatch<T>, _NoCallbacks;
-class _NoCallbackSyncStreamController/*<T>*/ = _StreamController/*<T>*/
- with _SyncStreamControllerDispatch/*<T>*/, _NoCallbacks;
+class _NoCallbackSyncStreamController<T> = _StreamController<T>
+ with _SyncStreamControllerDispatch<T>, _NoCallbacks;
typedef _NotificationHandler();
« no previous file with comments | « tool/input_sdk/lib/async/stream.dart ('k') | tool/input_sdk/lib/collection/iterable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698