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).
So the expectation should be
Expect.isTrue(test4 isF2<int, B<Object>, A1>);
The text was updated successfully, but these errors were encountered:
This test has expectation
co19/LanguageFeatures/nnbd/type_reification_A01_t03.dart
Line 50 in 3839b03
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>
andB<Object>
are mutual subtypes in NNBD weak mode (but not in strong mode).So the expectation should be
The text was updated successfully, but these errors were encountered: