Index: pkg/intl/tool/generate_locale_data_files.dart |
diff --git a/pkg/intl/tool/generate_locale_data_files.dart b/pkg/intl/tool/generate_locale_data_files.dart |
index 12d3f6c1a2bbdf6121e724de20e16eefa0286d35..6cec6aca0cc32c3154642c10106446c151bf7bd6 100644 |
--- a/pkg/intl/tool/generate_locale_data_files.dart |
+++ b/pkg/intl/tool/generate_locale_data_files.dart |
@@ -40,7 +40,7 @@ void writeLocaleList() { |
List<String> allLocales = DateFormat.allLocalesWithSymbols(); |
allLocales.forEach((locale) { |
outputStream.writeString('"$locale"'); |
- if (locale == allLocales.last()) { |
+ if (locale == allLocales.last) { |
outputStream.writeString('];'); |
} else { |
outputStream.writeString(',\n '); |