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

Unified Diff: pkg/async_helper/lib/async_helper.dart

Issue 23551007: Remove reference to unimported Future. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/async_helper/lib/async_helper.dart
diff --git a/pkg/async_helper/lib/async_helper.dart b/pkg/async_helper/lib/async_helper.dart
index 72a391f03a019a3c5785011d3ba5141ec03ca68d..84df557a811d6ce40f3643430a3477d7f420260a 100644
--- a/pkg/async_helper/lib/async_helper.dart
+++ b/pkg/async_helper/lib/async_helper.dart
@@ -62,7 +62,7 @@ void asyncEnd() {
}
}
-void asyncTest(Future f()) {
+void asyncTest(f()) {
kustermann 2013/09/03 13:53:03 You could add some documentation to the top of the
asyncStart();
f().whenComplete(() => asyncEnd());
}
ahe 2013/09/03 08:28:51 No newline at end of file. Stop production! DANGER
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698