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

Unified Diff: lib/src/isolate.dart

Issue 2990893002: Update comment style generic syntax (Closed)
Patch Set: rev version no 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/src/scope.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/isolate.dart
diff --git a/lib/src/isolate.dart b/lib/src/isolate.dart
index 4b24102a0a0bfc76c1626edb0b32962e92611e39..7d6382e19e3470b1b19ae75518a1cd63dd1beff8 100644
--- a/lib/src/isolate.dart
+++ b/lib/src/isolate.dart
@@ -186,8 +186,8 @@ class VMIsolateRef {
/// Like [transform], but only calls [handleData] for events related to this
/// isolate.
- Stream/*<T>*/ _transform/*<T>*/(Stream<Map> stream,
- void handleData(Map json, StreamSink/*<T>*/ sink)) {
+ Stream<T> _transform<T>(Stream<Map> stream,
+ void handleData(Map json, StreamSink<T> sink)) {
return transform(stream, (json, sink) {
if (json["isolate"]["id"] != _scope.isolateId) return;
handleData(json, sink);
« no previous file with comments | « no previous file | lib/src/scope.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698