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

Unified Diff: lib/src/runner/loader.dart

Issue 2740003005: Add type info to fix analyzer failures for 1.23.0-dev.5.0 (Closed)
Patch Set: Address comments Created 3 years, 9 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 | « lib/src/runner/load_suite.dart ('k') | lib/src/util/stream_queue.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/runner/loader.dart
diff --git a/lib/src/runner/loader.dart b/lib/src/runner/loader.dart
index f24ddd0dd3b7b71ba284708b303077875966e812..23eea445fc1f7b7f49f05904a6e760d067decc2e 100644
--- a/lib/src/runner/loader.dart
+++ b/lib/src/runner/loader.dart
@@ -164,7 +164,9 @@ class Loader {
return suite;
} catch (error, stackTrace) {
if (error is LoadException) rethrow;
- await new Future.error(new LoadException(path, error), stackTrace);
+ await new Future.error(
+ new LoadException(path, error), stackTrace);
+ return null;
}
}, path: path, platform: platform);
}
« no previous file with comments | « lib/src/runner/load_suite.dart ('k') | lib/src/util/stream_queue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698