Index: utils/pub/utils.dart |
=================================================================== |
--- utils/pub/utils.dart (revision 17246) |
+++ utils/pub/utils.dart (working copy) |
@@ -143,7 +143,7 @@ |
/// Convert a URL query string (or `application/x-www-form-urlencoded` body) |
/// into a [Map] from parameter names to values. |
Map<String, String> queryToMap(String queryList) { |
- var map = <String>{}; |
+ var map = {}; |
for (var pair in queryList.split("&")) { |
var split = split1(pair, "="); |
if (split.isEmpty) continue; |