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

Unified Diff: lib/src/stream_channel_transformer.dart

Issue 2987963002: Update comment style generic syntax (Closed)
Patch Set: 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 | « no previous file | lib/stream_channel.dart » ('j') | pubspec.yaml » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/stream_channel_transformer.dart
diff --git a/lib/src/stream_channel_transformer.dart b/lib/src/stream_channel_transformer.dart
index 46232d74cc5df535ae22a844ac76d0fd97cd7f8f..d6d10ff5ef5c8c69febb3f7077681f7aa19e38d1 100644
--- a/lib/src/stream_channel_transformer.dart
+++ b/lib/src/stream_channel_transformer.dart
@@ -41,9 +41,9 @@ class StreamChannelTransformer<S, T> {
/// throws a [CastError]. This also means that calls to [StreamSink.add] on
/// the transformed channel's sink may throw a [CastError] if the argument
/// type doesn't match the reified type of the sink.
- static StreamChannelTransformer/*<S, T>*/ typed/*<S, T>*/(
+ static StreamChannelTransformer<S, T> typed<S, T>(
StreamChannelTransformer transformer) =>
- transformer is StreamChannelTransformer/*<S, T>*/
+ transformer is StreamChannelTransformer<S, T>
? transformer
: new TypeSafeStreamChannelTransformer(transformer);
« no previous file with comments | « no previous file | lib/stream_channel.dart » ('j') | pubspec.yaml » ('J')

Powered by Google App Engine
This is Rietveld 408576698