Index: sdk/lib/async/future.dart |
diff --git a/sdk/lib/async/future.dart b/sdk/lib/async/future.dart |
index 48f968fe040af33f87863c3beaf7b7cff1653a53..709a73d1d1de2d76ab931aa9767175081aaa62ec 100644 |
--- a/sdk/lib/async/future.dart |
+++ b/sdk/lib/async/future.dart |
@@ -225,7 +225,7 @@ abstract class Future<T> { |
_Future result = new _Future<T>(); |
new Timer(duration, () { |
try { |
- result._complete(computation == null ? null : computation()); |
+ result._complete(computation?.call()); |
} catch (e, s) { |
_completeWithErrorCallback(result, e, s); |
} |