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:       );
      });
  
      timerLoad2.stop();
    }
  
  
negative.code:         }
        }
  
        // We might have just linked dart:core, ensure the type provider.
        _createElementFactoryTypeProvider();
      }
  
      logger.run('Prepare linked bundles', () {
  