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

Unified Diff: pkg/scheduled_test/lib/src/task.dart

Issue 50073007: fix barback and polymer build warnings (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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/task.dart
diff --git a/pkg/scheduled_test/lib/src/task.dart b/pkg/scheduled_test/lib/src/task.dart
index 8d0ec18f40a1972e673df6f3a7a2e90801227687..997e806cf8d89138999a5ff9addfc851dda40b7c 100644
--- a/pkg/scheduled_test/lib/src/task.dart
+++ b/pkg/scheduled_test/lib/src/task.dart
@@ -80,7 +80,7 @@ class Task {
_state = TaskState.RUNNING;
var future = new Future.value().then((_) => fn())
.whenComplete(() {
- if (_childGroup == null || _childGroup.completed) return;
+ if (_childGroup == null || _childGroup.completed) return null;
return _childGroup.future;
});
chainToCompleter(future, _resultCompleter);

Powered by Google App Engine
This is Rietveld 408576698