anchor.diff:      _jsStaticVariable = localNonNull;
     });
     Expect.throws(() {
  -    _jsStaticVariable = localNullableLegacy;
  -  });
  -  Expect.throws(() {
  -    _jsStaticVariable = localNullable;
  +    _jsStaticVariable = localNullableLegacy!;
  +  });
  +  Expect.throws(() {
  +    _jsStaticVariable = localNullable!;
     });
     _jsStaticVariable = allowInterop(dartStaticMethod);
     _jsStaticVariable = wrappedDartStaticMethod;
  
positive.code: @JS()
  @anonymous
  class NestedJs {
    external factory NestedJs({String Function() constructorArg});
    external String get stringField;
  }
  
  
negative.code:     method(localNonNull);
    });
    Expect.throws(() {
      method(localNullableLegacy!);
    });
    Expect.throws(() {
      method(localNullable!);
    });
    method(allowInterop(() => 'hello'));
    method(wrappedDartStaticMethod);
  