anchor.diff:      node.staticElement = result.getter;
       if (_shouldReportInvalidMember(staticType, result)) {
         if (operand is SuperExpression) {
  -        _recordUndefinedToken(
  -            staticType.element,
  -            StaticTypeWarningCode.UNDEFINED_SUPER_OPERATOR,
  -            node.operator,
  -            [methodName, staticType]);
  +        _errorReporter.reportErrorForToken(
  +          StaticTypeWarningCode.UNDEFINED_SUPER_OPERATOR,
  +          node.operator,
  +          [methodName, staticType],
  +        );
         } else {
  -        _recordUndefinedToken(
  -            staticType.element,
  -            StaticTypeWarningCode.UNDEFINED_OPERATOR,
  -            node.operator,
  -            [methodName, staticType]);
  +        _errorReporter.reportErrorForToken(
  +          StaticTypeWarningCode.UNDEFINED_OPERATOR,
  +          node.operator,
  +          [methodName, staticType],
  +        );
         }
       }
     }
  
positive.code:             node,
              [element.name]);
        } else if (node.name == "await" && _resolver.enclosingFunction != null) {
          _recordUndefinedNode(
              _resolver.enclosingClass,
              StaticWarningCode.UNDEFINED_IDENTIFIER_AWAIT,
              node,
              [_resolver.enclosingFunction.displayName]);
        } else if (!_resolver.nameScope.shouldIgnoreUndefined(node)) {
          _recordUndefinedNode(_resolver.enclosingClass,
              StaticWarningCode.UNDEFINED_IDENTIFIER, node, [node.name]);
        }
      }
      node.staticElement = element;
  
negative.code:             isNullAware: false);
          node.staticElement = result.getter;
          if (_shouldReportInvalidMember(staticType, result)) {
            _errorReporter.reportErrorForToken(
              StaticTypeWarningCode.UNDEFINED_OPERATOR,
              operator,
              [methodName, staticType],
            );
          }
        }
      }
  