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

Unified Diff: pkg/scheduled_test/lib/src/descriptor/directory_descriptor.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
Index: pkg/scheduled_test/lib/src/descriptor/directory_descriptor.dart
diff --git a/pkg/scheduled_test/lib/src/descriptor/directory_descriptor.dart b/pkg/scheduled_test/lib/src/descriptor/directory_descriptor.dart
index d07b5bc52dbec689ecce4c573201a7f331734a92..5003c726cb13653430ac0cdea56ed78d29aabf8a 100644
--- a/pkg/scheduled_test/lib/src/descriptor/directory_descriptor.dart
+++ b/pkg/scheduled_test/lib/src/descriptor/directory_descriptor.dart
@@ -48,7 +48,7 @@ class DirectoryDescriptor extends Descriptor {
return Future.wait(contents.map((entry) {
return new Future.of(() => entry.validateNow(fullPath))
.then((_) => null)
- .catchError((e) => e.error);
+ .catchError((e) => e);
})).then((results) {
var errors = results.where((e) => e != null);
if (errors.isEmpty) return;
« no previous file with comments | « pkg/scheduled_test/lib/scheduled_test.dart ('k') | pkg/scheduled_test/lib/src/descriptor/pattern_descriptor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698