anchor.diff:        return;
       }
   
  -    var outerFunction = _enclosingFunction;
  -    _enclosingFunction = node.declaredElement;
       Scope outerScope = nameScope;
       try {
         ExecutableElement element = node.declaredElement!;
  
positive.code:   /// `null` if no labels have been defined in the current context.
    LabelScope? labelScope;
  
    /// The class containing the AST nodes being visited,
    /// or `null` if we are not in the scope of a class.
    ClassElement? enclosingClass;
  
    /// The element representing the extension containing the AST nodes being
    /// visited, or `null` if we are not in the scope of an extension.
    ExtensionElement? enclosingExtension;
  
    /// The element representing the function containing the current node, or
    /// `null` if the current node is not contained in a function.
    ExecutableElement? _enclosingFunction;
  
    /// Initialize a newly created visitor to resolve the nodes in a compilation
    /// unit.
    ///
  
negative.code:       visitMethodDeclarationInScope(node);
      } finally {
        nameScope = outerScope;
      }
    }
  
  