@@ -1526,11 +1526,11 @@ class TypeSystemImpl implements TypeSystem {
15261526 /// Determine the type of a binary expression with the given [operator] whose
15271527 /// left operand has the type [leftType] and whose right operand has the type
15281528 /// [rightType] , given that resolution has so far produced the [currentType] .
1529- DartType refineBinaryExpressionType (
1529+ TypeImpl refineBinaryExpressionType (
15301530 DartType leftType,
15311531 TokenType operator ,
15321532 DartType rightType,
1533- DartType currentType,
1533+ TypeImpl currentType,
15341534 MethodElement2 ? operatorElement) {
15351535 if (operatorElement == null ) return currentType;
15361536 return _refineNumericInvocationTypeNullSafe (
@@ -1562,11 +1562,11 @@ class TypeSystemImpl implements TypeSystem {
15621562 /// produced so far by resolution is [currentType] .
15631563 ///
15641564 // TODO(scheglov): I expected that [methodElement] is [MethodElement].
1565- DartType refineNumericInvocationType (
1565+ TypeImpl refineNumericInvocationType (
15661566 DartType targetType,
15671567 Element2 ? methodElement,
15681568 List <DartType > argumentTypes,
1569- DartType currentType) {
1569+ TypeImpl currentType) {
15701570 if (methodElement is MethodElement2 ) {
15711571 return _refineNumericInvocationTypeNullSafe (
15721572 targetType, methodElement, argumentTypes, currentType);
@@ -1960,11 +1960,11 @@ class TypeSystemImpl implements TypeSystem {
19601960 return currentType;
19611961 }
19621962
1963- DartType _refineNumericInvocationTypeNullSafe (
1963+ TypeImpl _refineNumericInvocationTypeNullSafe (
19641964 DartType targetType,
19651965 MethodElement2 methodElement,
19661966 List <DartType > argumentTypes,
1967- DartType currentType) {
1967+ TypeImpl currentType) {
19681968 // If the method being invoked comes from an extension, don't refine the
19691969 // type because we can only make guarantees about methods defined in the
19701970 // SDK, and the numeric methods we refine are all instance methods.
0 commit comments