anchor.diff:  ///
   /// This template is used for Dart 2.
   const String deferredBoilerplateDart2 = '''
  -function(inherit, inheritMany, mixin, lazy, makeConstList, convertToFastObject,
  -         hunkHelpers, setFunctionNamesIfNecessary, updateHolder, updateTypes,
  -         setOrUpdateInterceptorsByTag, setOrUpdateLeafTags,
  -         #embeddedGlobalsObject, holdersList, #staticState) {
  +function(hunkHelpers, #embeddedGlobalsObject, holdersList, #staticState) {
   
   // Builds the holders. They only contain the data for new holders.
   #holders;
   
   // If the name is not set on the functions, do it now.
  -setFunctionNamesIfNecessary(#deferredHoldersList);
  +hunkHelpers.setFunctionNamesIfNecessary(#deferredHoldersList);
   
   // Updates the holders of the main-fragment. Uses the provided holdersList to
   // access the main holders.
  
positive.code:           ? new js.LiteralNull()
            : classReference(superclass);
        if (list.length == 1) {
          locals['_inherit'] ??= js.js('inherit');
          inheritCalls.add(js.js.statement('_inherit(#, #)',
              [classReference(list.single), superclassReference]));
        } else {
          locals['_inheritMany'] ??= js.js('inheritMany');
          var listElements = list.map(classReference).toList();
          inheritCalls.add(js.js.statement('_inheritMany(#, #)',
              [superclassReference, js.ArrayInitializer(listElements)]));
  
negative.code:       ]);
        compiler.dumpInfoTask.registerConstantAst(constant.value, assignment);
        assignments.add(assignment);
        if (constant.value.isList) hasList = true;
      }
      if (hasList) {
        assignments.insert(
            0, js.js.statement('var makeConstList = hunkHelpers.makeConstList;'));
      }
      return wrapPhase('constants', assignments);
    }
  