Index: sdk/lib/async/future_impl.dart |
diff --git a/sdk/lib/async/future_impl.dart b/sdk/lib/async/future_impl.dart |
index 8ca10c99c7f55bfedec0ddb23f6445eb4afd45e6..a8e71f61d22fdc23f76ffb07faef5eae42389735 100644 |
--- a/sdk/lib/async/future_impl.dart |
+++ b/sdk/lib/async/future_impl.dart |
@@ -191,7 +191,7 @@ class _Future<T> implements Future<T> { |
_resultOrListeners = source; |
} |
- Future then(f(T value), { Function onError }) { |
+ Future/*<S>*/ then/*<S>*/(f(T value), { Function onError }) { |
Zone currentZone = Zone.current; |
if (!identical(currentZone, _ROOT_ZONE)) { |
f = currentZone.registerUnaryCallback(f); |