blob: 4b0d9881dee01a6811d36a851650d4d6d9ee4b5c [file] [log] [blame]
>>> (indent 8)
if (_shouldReportMissingMember(staticType, staticMethod)) {
_recordUndefinedToken(
staticType.element,
StaticTypeWarningCode.UNDEFINED_METHOD,
operator, [methodName, staticType.displayName]);
} else if (_enableHints &&
_shouldReportMissingMember(propagatedType, propagatedMethod) &&
!_memberFoundInSubclass(
propagatedType.element, methodName, true, false)) {
_recordUndefinedToken(
propagatedType.element,
HintCode.UNDEFINED_METHOD,
operator, [methodName, propagatedType.displayName]);
}
<<<
if (_shouldReportMissingMember(staticType, staticMethod)) {
_recordUndefinedToken(
staticType.element,
StaticTypeWarningCode.UNDEFINED_METHOD,
operator,
[methodName, staticType.displayName]);
} else if (_enableHints &&
_shouldReportMissingMember(propagatedType, propagatedMethod) &&
!_memberFoundInSubclass(
propagatedType.element, methodName, true, false)) {
_recordUndefinedToken(
propagatedType.element,
HintCode.UNDEFINED_METHOD,
operator,
[methodName, propagatedType.displayName]);
}