anchor.diff:        // We are about to load dart:core, but if we have just linked it, the
         // linker might have set the type provider. So, clear it, and recreate
         // the element factory - it is empty anyway.
  -      var hasDartCoreBeforeBundle = elementFactory.hasDartCore;
  -      if (!hasDartCoreBeforeBundle) {
  +      if (!elementFactory.hasDartCore) {
           analysisContext.clearTypeProvider();
           _createElementFactory();
         }
  
positive.code:         }
        }
  
        // If the first bundle, with dart:core, create the type provider.
        if (!hasDartCoreBeforeBundle && elementFactory.hasDartCore) {
          _createElementFactoryTypeProvider();
        }
      }
  
      logger.run('Prepare linked bundles', () {
  
negative.code:       );
      });
  
      // There might be a rare (and wrong) situation, when the external summaries
      // already include the [targetLibrary]. When this happens, [loadBundle]
      // exists without doing any work. But the type provider must be created.
      _createElementFactoryTypeProvider();
  
      timerLoad2.stop();
    }
  
  