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

Unified Diff: lib/src/typed_stream_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/typed/stream_subscription.dart ('k') | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/typed_stream_transformer.dart
diff --git a/lib/src/typed_stream_transformer.dart b/lib/src/typed_stream_transformer.dart
index 2fb20c468e215816c82e2f5b78247c449e70c9b2..98d5e706a7363c951fc4668af310b57a6ed6cac5 100644
--- a/lib/src/typed_stream_transformer.dart
+++ b/lib/src/typed_stream_transformer.dart
@@ -12,9 +12,9 @@ import 'delegate/stream.dart';
/// regardless of its original generic type, by asserting that the events
/// emitted by the transformed stream are instances of `T` whenever they're
/// provided. If they're not, the stream throws a [CastError].
-StreamTransformer/*<S, T>*/ typedStreamTransformer/*<S, T>*/(
+StreamTransformer<S, T> typedStreamTransformer<S, T>(
StreamTransformer transformer) =>
- transformer is StreamTransformer/*<S, T>*/
+ transformer is StreamTransformer<S, T>
? transformer
: new _TypeSafeStreamTransformer(transformer);
« no previous file with comments | « lib/src/typed/stream_subscription.dart ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698