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

Unified Diff: pkg/http/lib/src/response.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: pkg/http/lib/src/response.dart
===================================================================
--- pkg/http/lib/src/response.dart (revision 17246)
+++ pkg/http/lib/src/response.dart (working copy)
@@ -31,7 +31,7 @@
String body,
int statusCode,
{BaseRequest request,
- Map<String, String> headers: const <String>{},
+ Map<String, String> headers: const <String, String>{},
bool isRedirect: false,
bool persistentConnection: true,
String reasonPhrase})
@@ -49,7 +49,7 @@
List<int> bodyBytes,
int statusCode,
{BaseRequest request,
- Map<String, String> headers: const <String>{},
+ Map<String, String> headers: const <String, String>{},
bool isRedirect: false,
bool persistentConnection: true,
String reasonPhrase})

Powered by Google App Engine
This is Rietveld 408576698