Index: tests/corelib/collection_to_string_test.dart |
diff --git a/tests/corelib/collection_to_string_test.dart b/tests/corelib/collection_to_string_test.dart |
index 0c26ee4c12c0509febcca3c3c5983631710a8167..35fd8f3c0f94fc11109b058e8627d3e846d1f9b7 100644 |
--- a/tests/corelib/collection_to_string_test.dart |
+++ b/tests/corelib/collection_to_string_test.dart |
@@ -207,8 +207,8 @@ Map randomMap(int size, bool exact, StringBuffer stringRep, List beingMade) { |
* and will not contain a collection with ill-defined iteration order |
* (i.e., a HashSet or HashMap). |
*/ |
-Collection populateRandomCollection(int size, bool exact, |
- StringBuffer stringRep, List beingMade, Collection coll) { |
+populateRandomCollection(int size, bool exact, |
+ StringBuffer stringRep, List beingMade, var coll) { |
beingMade.add(coll); |
stringRep.write(coll is List ? '[' : '{'); |