set literal conversions (#27811)

This commit is contained in:
Phil Quitslund
2019-03-06 11:05:16 -08:00
committed by GitHub
parent 608b03c79b
commit 802eca29d2
54 changed files with 133 additions and 138 deletions

View File

@@ -573,7 +573,7 @@ class _MaterialLocalizationsDelegate extends LocalizationsDelegate<MaterialLocal
// Keep track of initialzed locales, or will fail on attempted double init.
// This can only happen if a locale with a stripped scriptCode has already
// been initialzed. This should be removed when scriptCode stripping is removed.
final Set<String> initializedLocales = Set<String>();
final Set<String> initializedLocales = <String>{};
date_localizations.dateSymbols.forEach((String locale, dynamic data) {
// Strip scriptCode from the locale, as we do not distinguish between scripts
// for dates.