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

Unified Diff: lib/src/lazy_stream.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/future_group.dart ('k') | lib/src/result.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/lazy_stream.dart
diff --git a/lib/src/lazy_stream.dart b/lib/src/lazy_stream.dart
index 147fa8bd5f2984b66335bc4a78f8b9b8e2648a3b..ad00a039c921667767dd70fe66071d49d5517525 100644
--- a/lib/src/lazy_stream.dart
+++ b/lib/src/lazy_stream.dart
@@ -43,10 +43,10 @@ class LazyStream<T> extends Stream<T> {
Stream<T> stream;
if (result is Future) {
stream = StreamCompleter.fromFuture(result.then((stream) {
- return DelegatingStream.typed/*<T>*/(stream as Stream);
+ return DelegatingStream.typed<T>(stream as Stream);
}));
} else {
- stream = DelegatingStream.typed/*<T>*/(result as Stream);
+ stream = DelegatingStream.typed<T>(result as Stream);
}
return stream.listen(onData,
« no previous file with comments | « lib/src/future_group.dart ('k') | lib/src/result.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698