Index: utils/pub/validator.dart |
diff --git a/utils/pub/validator.dart b/utils/pub/validator.dart |
index 94f20d586171cc130be6e8629e14f64c632e475a..d3bc0a7d042debf2bbe134c0c81b7b594149c759 100644 |
--- a/utils/pub/validator.dart |
+++ b/utils/pub/validator.dart |
@@ -57,7 +57,7 @@ abstract class Validator { |
// 3356, which causes a bug if all validators are (synchronously) using |
// Future.immediate and an error is thrown before a handler is set up. |
return sleep(0).then((_) { |
- return Futures.wait( |
+ return Future.wait( |
validators.mappedBy((validator) => validator.validate())); |
}).then((_) { |
var errors = |