anchor.diff:      var declaredType = (node.parent as VariableDeclarationList).type;
       if (declaredType != null) return;
       var element = node.element;
  -    if (element.type != dynamicType) return;
  +    if (element.type != _typeProvider.dynamicType) return;
   
       // Local variables can be inferred automatically, for top-levels and fields
       // we rule out cases that could depend on the order in which we process
  
positive.code:       if (!_canBeInferredIndependently(initializer, thisLib)) return;
      }
  
      var type = getStaticType(initializer);
      if (type == _typeProvider.bottomType) return;
      element.type = type;
      if (element is PropertyInducingElement) {
        element.getter.returnType = type;
  
negative.code:     } finally {
        overrideManager.exitScope();
      }
      node.accept(elementResolver_J2DAccessor);
      node.accept(restrictedAnalyzer);
      return null;
    }
  
  