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

Unified Diff: lib/src/typed/stream_subscription.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.dart ('k') | lib/src/typed_stream_transformer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/typed/stream_subscription.dart
diff --git a/lib/src/typed/stream_subscription.dart b/lib/src/typed/stream_subscription.dart
index 2cd4ddfd1cf57ffc19bb458f3d1168fc40f3487c..e02e1c0ab5c86b9ebb5fd94e90e0218cd8dd4686 100644
--- a/lib/src/typed/stream_subscription.dart
+++ b/lib/src/typed/stream_subscription.dart
@@ -33,6 +33,6 @@ class TypeSafeStreamSubscription<T> implements StreamSubscription<T> {
Future cancel() => _subscription.cancel();
- Future/*<E>*/ asFuture/*<E>*/([/*=E*/ futureValue]) =>
+ Future<E> asFuture<E>([E futureValue]) =>
_subscription.asFuture(futureValue);
}
« no previous file with comments | « lib/src/typed/stream.dart ('k') | lib/src/typed_stream_transformer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698