Index: sdk/lib/async/future.dart |
diff --git a/sdk/lib/async/future.dart b/sdk/lib/async/future.dart |
index 820ba0087d17181fbc5b5d92e6bfdad8b51a4906..5fdf82b25e7f707e737af4197a1f18341d9c17b4 100644 |
--- a/sdk/lib/async/future.dart |
+++ b/sdk/lib/async/future.dart |
@@ -149,11 +149,8 @@ abstract class Future<T> { |
* error. |
* |
* See [Completer]s, for futures with values that are computed asynchronously. |
- * |
- * *Deprecation note*: this method initially took an [int] as argument (the |
- * milliseconds to wait). It is now a [Duration]. |
*/ |
- factory Future.delayed(var duration, [T computation()]) { |
+ factory Future.delayed(Duration duration, [T computation()]) { |
// TODO(floitsch): no need to allocate a ThenFuture when the computation is |
// null. |
if (computation == null) computation = (() => null); |