anchor.diff:        .expand((translation) => translation.originalMessages)
         .map((original) =>
             '    "${original.name}" : ${_mapReference(original, locale)}');
  -  result..write(entries.join(",\n"))..write("\n  };\n}");
  +  result..write(entries.join(",\n"))..write("\n  };\n}\n");
   
     // To preserve compatibility, we don't use the canonical version of the locale
     // in the file name.
  
positive.code:     output.write("as ${_libraryName(locale)};\n");
    }
    output.write("\n");
    output.write("\nMap<String, Function> _deferredLibraries = {\n");
    for (var rawLocale in allLocales) {
      var locale = Intl.canonicalizedLocale(rawLocale);
      var loadOperation = (useDeferredLoading)
          ? "  '$locale' : () => ${_libraryName(locale)}.loadLibrary(),\n"
          : "  '$locale' : () => new Future.value(null),\n";
      output.write(loadOperation);
    }
    output.write("};\n");
  
negative.code: /// Constant string used in [generateMainImportFile] for the beginning of the
  /// file.
  var mainPrologue = """
  // DO NOT EDIT. This is code generated via package:intl/generate_localized.dart
  // This is a library that looks up messages for specific locales by
  // delegating to the appropriate library.
  
  import 'dart:async';
  
  import 'package:$intlImportPath/intl.dart';
  import 'package:$intlImportPath/message_lookup_by_library.dart';
  import 'package:$intlImportPath/src/intl_helpers.dart';
  
  """;
  
  /// Constant string used in [generateMainImportFile] as the end of the file.
  const closing = """
      default:\n      return null;
    }
  }
  
  