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

Unified Diff: lib/core/future.dart

Issue 11238035: Make isEmpty a getter. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status file with co19 issue number. Created 8 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
« no previous file with comments | « lib/core/expect.dart ('k') | lib/core/map.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/core/future.dart
diff --git a/lib/core/future.dart b/lib/core/future.dart
index 80567c46f8ce0237a9ce2841acdfb07f39caae4f..c14318b9d0e39fecd86b73fc8919d0bfb5d09e5c 100644
--- a/lib/core/future.dart
+++ b/lib/core/future.dart
@@ -228,7 +228,7 @@ class Futures {
* returned future will be a list of all the values that were produced.)
*/
static Future<List> wait(List<Future> futures) {
- if (futures.isEmpty()) {
+ if (futures.isEmpty) {
return new Future<List>.immediate(const []);
}
« no previous file with comments | « lib/core/expect.dart ('k') | lib/core/map.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698