It isn't quite clear what we should do in this case. In some cases, it may silently work, and in other cases it looks like it fails horrifically e.g.
import 'package:js/js.dart';
@JS()
external void eval(String code);
@JS()
mixin M {
}
class S with M {}
void main() {
}
We haven't really designed older interop around mixins. We should warn against this and make sure we don't treat it as a JS interop type in our transformer.
Note that this is true with the dart:js_interop annotations as well.