Index: tools/dom/src/EventStreamProvider.dart |
diff --git a/tools/dom/src/EventStreamProvider.dart b/tools/dom/src/EventStreamProvider.dart |
index 3fd6be8e7c07b63b522b6475e60de4a21c290ae3..7989689d1bdfb2d6ebbdee0f312cc114fd61379d 100644 |
--- a/tools/dom/src/EventStreamProvider.dart |
+++ b/tools/dom/src/EventStreamProvider.dart |
@@ -298,9 +298,9 @@ class _EventStreamSubscription<T extends Event> extends StreamSubscription<T> { |
} |
} |
- Future/*<E>*/ asFuture/*<E>*/([var/*=E*/ futureValue]) { |
+ Future<E> asFuture<E>([E futureValue]) { |
// We just need a future that will never succeed or fail. |
- var completer = new Completer/*<E>*/(); |
+ var completer = new Completer<E>(); |
return completer.future; |
} |
} |