anchor.diff:        ],
         returnType: typeParameterTypeNone(T),
       );
  -    expect(_inferCall(cast, [intNone, doubleNone]), [numNone]);
  +    _assertTypes(_inferCall(cast, [intNone, doubleNone]), [numNone]);
     }
   
     void test_parameterTypeUsesUpperBound() {
  
positive.code:       typeFormals: [T],
        returnType: typeParameterTypeNone(T),
      );
      expect(_inferCall(f, [], returnType: doubleNone), [doubleNone]);
    }
  
    void test_returnTypeWithBoundFromInvalidContext() {
  
negative.code:       returnType: typeParameterTypeNone(T),
      );
  
      _assertTypes(_inferCall(function, [intNone, numFunction]), [intNone]);
    }
  
    void test_parametersToFunctionParam() {
  