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

Unified Diff: lib/src/runner/load_suite.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 | « no previous file | lib/src/runner/loader.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/runner/load_suite.dart
diff --git a/lib/src/runner/load_suite.dart b/lib/src/runner/load_suite.dart
index 7034de442cd9a75bf16f3fa7720d17652c5310fc..f8811bcbb1e50f3a9c62308fe1ceedc5202614b1 100644
--- a/lib/src/runner/load_suite.dart
+++ b/lib/src/runner/load_suite.dart
@@ -66,7 +66,8 @@ class LoadSuite extends Suite implements RunnerSuite {
///
/// If the the load test is closed before [body] is complete, it will close
/// the suite returned by [body] once it completes.
- factory LoadSuite(String name, SuiteConfiguration config, body(),
+ factory LoadSuite(
+ String name, SuiteConfiguration config, FutureOr<RunnerSuite> body(),
{String path, TestPlatform platform}) {
var completer = new Completer<Pair<RunnerSuite, Zone>>.sync();
return new LoadSuite._(name, config, () {
« no previous file with comments | « no previous file | lib/src/runner/loader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698