Index: pkg/intl/example/basic/messages_all.dart |
diff --git a/pkg/intl/example/basic/messages_all.dart b/pkg/intl/example/basic/messages_all.dart |
index e722f6c6cc7335f77baf8b80c04ad651e329e66c..78cb5f097dbadf8bcfc9a7bfd8ca5a0548a75476 100644 |
--- a/pkg/intl/example/basic/messages_all.dart |
+++ b/pkg/intl/example/basic/messages_all.dart |
@@ -28,7 +28,7 @@ MessageLookupByLibrary _findExact(localeName) { |
initializeMessages(localeName) { |
initializeInternalMessageLookup(() => new CompositeMessageLookup()); |
messageLookup.addLocale(localeName, _findGeneratedMessagesFor); |
- return new Future.immediate(null); |
+ return new Future.value(); |
} |
MessageLookupByLibrary _findGeneratedMessagesFor(locale) { |