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

Unified Diff: pkg/intl/lib/src/http_request_data_reader.dart

Issue 11280135: Issue 6836. Using undeclared identifier in static context is now warning. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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/intl/lib/src/http_request_data_reader.dart
diff --git a/pkg/intl/lib/src/http_request_data_reader.dart b/pkg/intl/lib/src/http_request_data_reader.dart
index b6d2e35ae56376bcf625e9227ceab4f4e043ba92..61c59d6e3e3d3cc973a130467eba925440fac994 100644
--- a/pkg/intl/lib/src/http_request_data_reader.dart
+++ b/pkg/intl/lib/src/http_request_data_reader.dart
@@ -23,7 +23,7 @@ class HTTPRequestDataReader implements LocaleDataReader {
var source = '$url$locale.json';
var request = new HttpRequest.get(
source,
- (request) => completer.complete(request.responseText));
+ (req) => completer.complete(req.responseText));
return completer.future;
}
}

Powered by Google App Engine
This is Rietveld 408576698