Index: sdk/lib/async/future_impl.dart |
diff --git a/sdk/lib/async/future_impl.dart b/sdk/lib/async/future_impl.dart |
index 7297754d7ba90dcab652bc881eb7b1688dfbc2e7..980f0caa4f4a724827b30d5fea32845e7961392e 100644 |
--- a/sdk/lib/async/future_impl.dart |
+++ b/sdk/lib/async/future_impl.dart |
@@ -233,7 +233,7 @@ class _Future<T> implements Future<T> { |
return result; |
} |
- Stream<T> asStream() => new Stream.fromFuture(this); |
+ Stream<T> asStream() => new Stream<T>.fromFuture(this); |
void _markPendingCompletion() { |
if (!_mayComplete) throw new StateError("Future already completed"); |