Chromium Code Reviews| Index: lib/src/typed/future.dart |
| diff --git a/lib/src/typed/future.dart b/lib/src/typed/future.dart |
| index f53ec5f9e086ed967eeb054a3658b39fc169c7b3..e1e0052e3a54040e8d5e553ddddf055569ed35aa 100644 |
| --- a/lib/src/typed/future.dart |
| +++ b/lib/src/typed/future.dart |
| @@ -14,7 +14,7 @@ class TypeSafeFuture<T> implements Future<T> { |
| Future<T> catchError(Function onError, {bool test(Object error)}) async => |
| new TypeSafeFuture<T>(_future.catchError(onError, test: test)); |
| - Future/*<S>*/ then/*<S>*/(/*=S*/ onValue(T value), {Function onError}) => |
| + Future/*<S>*/ then/*<S>*/(onValue(T value), {Function onError}) => |
| _future.then((value) => onValue(value as T), onError: onError); |
|
Jennifer Messerly
2016/08/16 22:37:26
/*<S>*/ here too
keertip
2016/08/18 17:51:06
Done.
|
| Future<T> whenComplete(action()) => |