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

Unified Diff: pkg/scheduled_test/test/utils.dart

Issue 14251006: Remove AsyncError with Expando. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. 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
« no previous file with comments | « pkg/scheduled_test/test/substitute_future_test.dart ('k') | pkg/scheduled_test/test/value_future_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/scheduled_test/test/utils.dart
diff --git a/pkg/scheduled_test/test/utils.dart b/pkg/scheduled_test/test/utils.dart
index 4dd7ef93c33d238d1b0b3bfa6c8478a421abd702..bff8a195a4ce2fc7e1adc8a68849cea1a0df6785 100644
--- a/pkg/scheduled_test/test/utils.dart
+++ b/pkg/scheduled_test/test/utils.dart
@@ -32,10 +32,10 @@ Future timeout(Future input, int milliseconds, onTimeout()) {
if (completer.isCompleted) return;
timer.cancel();
completer.complete(value);
- }).catchError((e) {
+ }).catchError((error) {
if (completer.isCompleted) return;
timer.cancel();
- completer.completeError(e.error, e.stackTrace);
+ completer.completeError(error);
});
return completer.future;
}
« no previous file with comments | « pkg/scheduled_test/test/substitute_future_test.dart ('k') | pkg/scheduled_test/test/value_future_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698