anchor.diff:    //  method(localNonNull);
     //});
     //Expect.throws(() {
  -  //  method(localNullableLegacy);
  -  //});
  -  //Expect.throws(() {
  -  //  method(localNullable);
  +  //  method(localNullableLegacy as String Function());
  +  //});
  +  //Expect.throws(() {
  +  //  method(localNullable!);
     //});
     method(allowInterop(() => 'hello'));
     method(wrappedDartStaticMethod);
  
positive.code:     someClass.jsFunctionFieldGetter(dartStaticMethod);
    });
    Expect.throws(() {
      someClass.jsFunctionFieldGetter(localNonNullLegacy);
    });
    Expect.throws(() {
      someClass.jsFunctionFieldGetter(localNonNull);
    });
    Expect.throws(() {
      someClass.jsFunctionFieldGetter(localNullableLegacy);
    });
    Expect.throws(() {
      someClass.jsFunctionFieldGetter(localNullable);
    });
    someClass.jsFunctionFieldGetter(allowInterop(() => 'hello'));
    someClass.jsFunctionFieldGetter(wrappedDartStaticMethod);
  
negative.code:     SomeClass(dartStaticMethod);
    });
    Expect.throws(() {
      SomeClass(localNonNullLegacy as String Function());
    });
    Expect.throws(() {
      SomeClass(localNonNull);
    });
    Expect.throws(() {
      SomeClass(localNullableLegacy as String Function());
    });
    Expect.throws(() {
      SomeClass(localNullable!);
    });
    SomeClass(allowInterop(() => 'hello'));
    SomeClass(wrappedDartStaticMethod);
  