Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(634)

Unified Diff: pkg/scheduled_test/lib/src/value_future.dart

Issue 14251006: Remove AsyncError with Expando. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebuild DOM and rebase. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/scheduled_test/lib/src/value_future.dart
diff --git a/pkg/scheduled_test/lib/src/value_future.dart b/pkg/scheduled_test/lib/src/value_future.dart
index 41ffcc0a780323c66aa891fbab1dc4e5e110c0c5..d88f4c7a89497f3ce17bae15d32169af3691621c 100644
--- a/pkg/scheduled_test/lib/src/value_future.dart
+++ b/pkg/scheduled_test/lib/src/value_future.dart
@@ -30,9 +30,9 @@ class ValueFuture<T> implements Future<T> {
}
Stream<T> asStream() => _future.asStream();
- Future catchError(onError(AsyncError asyncError), {bool test(error)}) =>
+ Future catchError(onError(Object asyncError), {bool test(error)}) =>
Anders Johnsen 2013/04/15 16:34:17 error.
floitsch 2013/04/15 18:54:10 Done.
_future.catchError(onError, test: test);
- Future then(onValue(T value), {onError(AsyncError asyncError)}) =>
+ Future then(onValue(T value), {onError(Object asyncError)}) =>
Anders Johnsen 2013/04/15 16:34:17 error.
floitsch 2013/04/15 18:54:10 Done.
_future.then(onValue, onError: onError);
Future<T> whenComplete(action()) => _future.whenComplete(action);
}

Powered by Google App Engine
This is Rietveld 408576698