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:   for (var rawLocale in allLocales) {
      var locale = Intl.canonicalizedLocale(rawLocale);
      output.write(
          "    case '$locale':\n      return ${_libraryName(locale)}.messages;\n");
    }
    output.write(closing);
    return output.toString();
  