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

Unified Diff: pkg/intl/lib/date_format.dart

Issue 11664006: Make Map.keys/values Iterables. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Fix type. Created 8 years 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/date_format.dart
diff --git a/pkg/intl/lib/date_format.dart b/pkg/intl/lib/date_format.dart
index 299132bae32296645b318f5454805373ac4cf190..4054a4043a95600f295763cd3fa18f5066f641ee 100644
--- a/pkg/intl/lib/date_format.dart
+++ b/pkg/intl/lib/date_format.dart
@@ -251,7 +251,7 @@ class DateFormat {
* Returns a list of all locales for which we have date formatting
* information.
*/
- static List<String> allLocalesWithSymbols() => dateTimeSymbols.keys;
+ static List<String> allLocalesWithSymbols() => dateTimeSymbols.keys.toList();
/**
* The named constructors for this class are all conveniences for creating

Powered by Google App Engine
This is Rietveld 408576698