Index: pkg/intl/lib/generate_localized.dart |
diff --git a/pkg/intl/lib/generate_localized.dart b/pkg/intl/lib/generate_localized.dart |
index 0961d38151fa67ebec71b6a2fd9bc770105a95a7..26fb3041010493938ab28fd9643868f013d72f0f 100644 |
--- a/pkg/intl/lib/generate_localized.dart |
+++ b/pkg/intl/lib/generate_localized.dart |
@@ -183,7 +183,7 @@ const closing = """ |
initializeMessages(localeName) { |
initializeInternalMessageLookup(() => new CompositeMessageLookup()); |
messageLookup.addLocale(localeName, _findGeneratedMessagesFor); |
- return new Future.immediate(null); |
+ return new Future.value(); |
} |
MessageLookupByLibrary _findGeneratedMessagesFor(locale) { |