anchor.diff:        typeFormals: [T],
         returnType: typeParameterTypeNone(T),
       );
  -    expect(_inferCall(f, [], returnType: doubleNone), [doubleNone]);
  +    _assertTypes(_inferCall(f, [], returnType: doubleNone), [doubleNone]);
     }
   
     void test_returnTypeWithBoundFromInvalidContext() {
  
positive.code:         returnType: nullNone,
        ),
      );
      expect(
        _inferCall(
          f,
          [],
  
negative.code:       ],
        returnType: typeParameterTypeNone(T),
      );
      _assertTypes(
        _inferCall(cast, [
          functionTypeNone(
            parameters: [
  