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:           _elementTypeProvider.safeExecutableType(result.getter);
        if (_shouldReportInvalidMember(leftType, result)) {
          if (leftOperand is SuperExpression) {
            _recordUndefinedToken(
                leftType.element,
                StaticTypeWarningCode.UNDEFINED_SUPER_OPERATOR,
                node.operator,
                [methodName, leftType]);
          } else {
            _recordUndefinedToken(
                leftType.element,
                StaticTypeWarningCode.UNDEFINED_OPERATOR,
                node.operator,
                [methodName, leftType]);
          }
        }
      }
  
negative.code:             isNullAware: false);
          node.staticElement = result.getter;
          if (_shouldReportInvalidMember(staticType, result)) {
            _errorReporter.reportErrorForToken(
              StaticTypeWarningCode.UNDEFINED_OPERATOR,
              operator,
              [methodName, staticType],
            );
          }
        }
      }
  