You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It also has explicit requirement nnbd-weak, so this test runs in NNBD weak mode.
test4 has type
<B1 extends B<dynamic>>(A1) => int
and F2<int, B<Object>, A1> expands into
<YY extends B<Object>>(A1) => int
These function types are compatible because bounds of generic type parameters B<dynamic> and B<Object> are mutual subtypes in NNBD weak mode (but not in strong mode).