anchor.diff:  /// structure as possible with the original. The transformation is a shallow one
   /// that affects the [ImportDeclaration]s from [items].
   ///
  -/// Returns a new function that combines all statements from tranformed imports
  +/// Returns a new function that combines all statements from transformed imports
   /// from [items] and the body of the [function].
   Fun transformFunctionModuleFormat(
       List<ModuleItem> items, Fun function, ModuleFormat format) {
  
positive.code:       Identifier moduleVar, ImportDeclaration import, bool deferModules) {
      var items = <Statement>[];
  
      for (var importName in import.namedImports) {
        // import * is not emitted by the compiler, so we don't handle it here.
        assert(!importName.isStar);
        var asName = importName.asName ?? importName.name;
        var fromName = importName.name.name;
        // Load non-SDK modules on demand (i.e., deferred).
        if (deferModules && import.from.valueWithoutQuotes != dartSdkModule) {
          items.add(js.statement(
  
negative.code:   /// compilation, in order to include all the context needed for evaluation
    /// inside it.
    ///
    /// Returns a new function that combines all statements from transformed
    /// imports from [items] and the body of the [function].
    Fun buildFunctionWithImports(List<ModuleItem> items, Fun function) {
      clear();
  