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

Unified Diff: lib/src/utils.dart

Issue 2990893002: Update comment style generic syntax (Closed)
Patch Set: rev version no Created 3 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
« no previous file with comments | « lib/src/scope.dart ('k') | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/utils.dart
diff --git a/lib/src/utils.dart b/lib/src/utils.dart
index 58ea47abee315d18d90a5299975b1bde8c8d654f..7afbb3a4092534fe1ecc9ec752ec107e81f136a8 100644
--- a/lib/src/utils.dart
+++ b/lib/src/utils.dart
@@ -28,8 +28,8 @@ final _asyncBody = new RegExp(r'<(<anonymous closure>|[^>]+)_async_body>');
/// Transforms [stream] with a [StreamTransformer] that transforms data events
/// using [handleData].
-Stream/*<T>*/ transform/*<S, T>*/(Stream/*<S>*/ stream,
- void handleData(/*=S*/ data, EventSink/*<T>*/ sink)) =>
+Stream<T> transform<S, T>(Stream<S> stream,
+ void handleData(S data, EventSink<T> sink)) =>
stream.transform(
new StreamTransformer.fromHandlers(handleData: handleData));
« no previous file with comments | « lib/src/scope.dart ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698