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

Unified Diff: utils/pub/curl_client.dart

Issue 12021022: Stop supporting map literals with 1 type argument (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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
Index: utils/pub/curl_client.dart
===================================================================
--- utils/pub/curl_client.dart (revision 17246)
+++ utils/pub/curl_client.dart (working copy)
@@ -161,7 +161,7 @@
var isRedirect = status >= 300 && status < 400;
var reasonPhrase =
Strings.join(statusParts.getRange(2, statusParts.length - 2), " ");
- var headers = <String>{};
+ var headers = <String, String>{};
for (var line in lines) {
if (line.isEmpty) continue;
var split = split1(line, ":");
« runtime/vm/parser.cc ('K') | « tests/co19/co19-runtime.status ('k') | utils/pub/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698