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

Unified Diff: pkg/scheduled_test/lib/src/utils.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/utils.dart
diff --git a/pkg/scheduled_test/lib/src/utils.dart b/pkg/scheduled_test/lib/src/utils.dart
index 419e47eb8bc30e224f997cd5920922b9f844a36d..9316a051e414b00689ff6b42f8f321442a3c44c4 100644
--- a/pkg/scheduled_test/lib/src/utils.dart
+++ b/pkg/scheduled_test/lib/src/utils.dart
@@ -107,7 +107,7 @@ Future streamFirst(Stream stream) {
subscription.cancel();
completer.complete(value);
}, onError: (e) {
- completer.completeError(e.error, e.stackTrace);
+ completer.completeError(e);
}, onDone: () {
completer.completeError(new StateError("No elements"), stackTrace);
}, unsubscribeOnError: true);

Powered by Google App Engine
This is Rietveld 408576698