anchor.diff:  
     @override
     void declaredFunction(FunctionDeclaration declaration) {
  -    if (_shouldSuggest(declaration.declaredElement) &&
  +    if (visibilityTracker._isVisible(declaration.declaredElement) &&
           (opType.includeReturnValueSuggestions ||
               opType.includeVoidReturnSuggestions)) {
         if (declaration.isSetter) {
  
positive.code:     }
      return null;
    }
  
    /// Before completions are added by this contributor, we verify with this
    /// method if the element has already been added, this prevents suggesting
    /// [Element]s that are shadowed.
    bool _shouldSuggest(Element element) =>
        element != null && declaredNames.add(element.name);
  }
  
  /// A visitor for collecting suggestions from the most specific child [AstNode]
  
negative.code:           node = node.parent.parent;
          }
  
          localVisitor = _LocalVisitor(request, builder, visibilityTracker,
              suggestLocalFields: suggestLocalFields);
          try {
            builder.laterReplacesEarlier = false;
  