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

Unified Diff: lib/src/stream_sink_transformer.dart

Issue 2660333005: Change generic comment syntax to real generic syntax. (Closed)
Patch Set: Update version. Created 3 years, 10 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/stream_sink_completer.dart ('k') | lib/src/stream_splitter.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/stream_sink_transformer.dart
diff --git a/lib/src/stream_sink_transformer.dart b/lib/src/stream_sink_transformer.dart
index d40bc4b76d84427dad35b3646a535af47b9e3203..65adda67f3ea2548f41a7844384f1e3c666124e9 100644
--- a/lib/src/stream_sink_transformer.dart
+++ b/lib/src/stream_sink_transformer.dart
@@ -54,9 +54,9 @@ abstract class StreamSinkTransformer<S, T> {
/// This means that calls to [StreamSink.add] on the returned sink may throw a
/// [CastError] if the argument type doesn't match the reified type of the
/// sink.
- static StreamSinkTransformer/*<S, T>*/ typed/*<S, T>*/(
+ static StreamSinkTransformer<S, T> typed<S, T>(
StreamSinkTransformer transformer) =>
- transformer is StreamSinkTransformer/*<S, T>*/
+ transformer is StreamSinkTransformer<S, T>
? transformer
: new TypeSafeStreamSinkTransformer(transformer);
}
« no previous file with comments | « lib/src/stream_sink_completer.dart ('k') | lib/src/stream_splitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698